Share via


ArmProviderHubModelFactory.ProviderResourceType Method

Definition

Initializes a new instance of ProviderResourceType.

public static Azure.ResourceManager.ProviderHub.Models.ProviderResourceType ProviderResourceType (string name = default, Azure.ResourceManager.ProviderHub.Models.ResourceRoutingType? routingType = default, Azure.ResourceManager.ProviderHub.Models.ResourceValidation? resourceValidation = default, System.Collections.Generic.IEnumerable<string> allowedUnauthorizedActions = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.AuthorizationActionMapping> authorizationActionMappings = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.LinkedAccessCheck> linkedAccessChecks = default, string defaultApiVersion = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.LoggingRule> loggingRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.ThrottlingRule> throttlingRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.ResourceProviderEndpoint> endpoints = default, Azure.ResourceManager.ProviderHub.Models.MarketplaceType? marketplaceType = default, Azure.ResourceManager.ProviderHub.Models.IdentityManagementType? managementType = default, BinaryData metadata = default, System.Collections.Generic.IEnumerable<string> requiredFeatures = default, Azure.ResourceManager.ProviderHub.Models.FeaturesPolicy? requiredFeaturesPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.ProviderSubscriptionStateRule> subscriptionStateRules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.ServiceTreeInfo> serviceTreeInfos = default, Azure.ResourceManager.ProviderHub.Models.OptInHeaderType? optInHeaders = default, string skuLink = default, System.Collections.Generic.IEnumerable<string> disallowedActionVerbs = default, Azure.ResourceManager.ProviderHub.Models.TemplateDeploymentPolicy templateDeploymentPolicy = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.ProviderHubExtendedLocationOptions> extendedLocations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ProviderHub.Models.LinkedOperationRule> linkedOperationRules = default, Azure.ResourceManager.ProviderHub.Models.ManifestResourceDeletionPolicy? resourceDeletionPolicy = default);
static member ProviderResourceType : string * Nullable<Azure.ResourceManager.ProviderHub.Models.ResourceRoutingType> * Nullable<Azure.ResourceManager.ProviderHub.Models.ResourceValidation> * seq<string> * seq<Azure.ResourceManager.ProviderHub.Models.AuthorizationActionMapping> * seq<Azure.ResourceManager.ProviderHub.Models.LinkedAccessCheck> * string * seq<Azure.ResourceManager.ProviderHub.Models.LoggingRule> * seq<Azure.ResourceManager.ProviderHub.Models.ThrottlingRule> * seq<Azure.ResourceManager.ProviderHub.Models.ResourceProviderEndpoint> * Nullable<Azure.ResourceManager.ProviderHub.Models.MarketplaceType> * Nullable<Azure.ResourceManager.ProviderHub.Models.IdentityManagementType> * BinaryData * seq<string> * Nullable<Azure.ResourceManager.ProviderHub.Models.FeaturesPolicy> * seq<Azure.ResourceManager.ProviderHub.Models.ProviderSubscriptionStateRule> * seq<Azure.ResourceManager.ProviderHub.Models.ServiceTreeInfo> * Nullable<Azure.ResourceManager.ProviderHub.Models.OptInHeaderType> * string * seq<string> * Azure.ResourceManager.ProviderHub.Models.TemplateDeploymentPolicy * seq<Azure.ResourceManager.ProviderHub.Models.ProviderHubExtendedLocationOptions> * seq<Azure.ResourceManager.ProviderHub.Models.LinkedOperationRule> * Nullable<Azure.ResourceManager.ProviderHub.Models.ManifestResourceDeletionPolicy> -> Azure.ResourceManager.ProviderHub.Models.ProviderResourceType
Public Shared Function ProviderResourceType (Optional name As String = Nothing, Optional routingType As Nullable(Of ResourceRoutingType) = Nothing, Optional resourceValidation As Nullable(Of ResourceValidation) = Nothing, Optional allowedUnauthorizedActions As IEnumerable(Of String) = Nothing, Optional authorizationActionMappings As IEnumerable(Of AuthorizationActionMapping) = Nothing, Optional linkedAccessChecks As IEnumerable(Of LinkedAccessCheck) = Nothing, Optional defaultApiVersion As String = Nothing, Optional loggingRules As IEnumerable(Of LoggingRule) = Nothing, Optional throttlingRules As IEnumerable(Of ThrottlingRule) = Nothing, Optional endpoints As IEnumerable(Of ResourceProviderEndpoint) = Nothing, Optional marketplaceType As Nullable(Of MarketplaceType) = Nothing, Optional managementType As Nullable(Of IdentityManagementType) = Nothing, Optional metadata As BinaryData = Nothing, Optional requiredFeatures As IEnumerable(Of String) = Nothing, Optional requiredFeaturesPolicy As Nullable(Of FeaturesPolicy) = Nothing, Optional subscriptionStateRules As IEnumerable(Of ProviderSubscriptionStateRule) = Nothing, Optional serviceTreeInfos As IEnumerable(Of ServiceTreeInfo) = Nothing, Optional optInHeaders As Nullable(Of OptInHeaderType) = Nothing, Optional skuLink As String = Nothing, Optional disallowedActionVerbs As IEnumerable(Of String) = Nothing, Optional templateDeploymentPolicy As TemplateDeploymentPolicy = Nothing, Optional extendedLocations As IEnumerable(Of ProviderHubExtendedLocationOptions) = Nothing, Optional linkedOperationRules As IEnumerable(Of LinkedOperationRule) = Nothing, Optional resourceDeletionPolicy As Nullable(Of ManifestResourceDeletionPolicy) = Nothing) As ProviderResourceType

Parameters

name
String
resourceValidation
Nullable<ResourceValidation>
allowedUnauthorizedActions
IEnumerable<String>
authorizationActionMappings
IEnumerable<AuthorizationActionMapping>
linkedAccessChecks
IEnumerable<LinkedAccessCheck>
defaultApiVersion
String
loggingRules
IEnumerable<LoggingRule>
throttlingRules
IEnumerable<ThrottlingRule>
marketplaceType
Nullable<MarketplaceType>
metadata
BinaryData

Anything.

requiredFeatures
IEnumerable<String>
requiredFeaturesPolicy
Nullable<FeaturesPolicy>
subscriptionStateRules
IEnumerable<ProviderSubscriptionStateRule>
serviceTreeInfos
IEnumerable<ServiceTreeInfo>
optInHeaders
Nullable<OptInHeaderType>
skuLink
String
disallowedActionVerbs
IEnumerable<String>
templateDeploymentPolicy
TemplateDeploymentPolicy
linkedOperationRules
IEnumerable<LinkedOperationRule>
resourceDeletionPolicy
Nullable<ManifestResourceDeletionPolicy>

Returns

A new ProviderResourceType instance for mocking.

Applies to