示例#1
0
 internal MachineLearningWorkspaceData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, ManagedServiceIdentity identity, AzureLocation?location, IDictionary <string, string> tags, MachineLearningSku sku, string workspaceId, string description, string friendlyName, string keyVault, string applicationInsights, string containerRegistry, string storageAccount, Uri discoveryUri, ProvisioningState?provisioningState, EncryptionProperty encryption, bool?hbiWorkspace, string serviceProvisionedResourceGroup, int?privateLinkCount, string imageBuildCompute, bool?allowPublicAccessWhenBehindVnet, PublicNetworkAccess?publicNetworkAccess, IReadOnlyList <MachineLearningPrivateEndpointConnectionData> privateEndpointConnections, IList <SharedPrivateLinkResource> sharedPrivateLinkResources, NotebookResourceInfo notebookInfo, ServiceManagedResourcesSettings serviceManagedResourcesSettings, string primaryUserAssignedIdentity, Guid?tenantId, bool?storageHnsEnabled, Uri mlFlowTrackingUri) : base(id, name, resourceType, systemData)
 {
     Identity                        = identity;
     Location                        = location;
     Tags                            = tags;
     Sku                             = sku;
     WorkspaceId                     = workspaceId;
     Description                     = description;
     FriendlyName                    = friendlyName;
     KeyVault                        = keyVault;
     ApplicationInsights             = applicationInsights;
     ContainerRegistry               = containerRegistry;
     StorageAccount                  = storageAccount;
     DiscoveryUri                    = discoveryUri;
     ProvisioningState               = provisioningState;
     Encryption                      = encryption;
     HbiWorkspace                    = hbiWorkspace;
     ServiceProvisionedResourceGroup = serviceProvisionedResourceGroup;
     PrivateLinkCount                = privateLinkCount;
     ImageBuildCompute               = imageBuildCompute;
     AllowPublicAccessWhenBehindVnet = allowPublicAccessWhenBehindVnet;
     PublicNetworkAccess             = publicNetworkAccess;
     PrivateEndpointConnections      = privateEndpointConnections;
     SharedPrivateLinkResources      = sharedPrivateLinkResources;
     NotebookInfo                    = notebookInfo;
     ServiceManagedResourcesSettings = serviceManagedResourcesSettings;
     PrimaryUserAssignedIdentity     = primaryUserAssignedIdentity;
     TenantId                        = tenantId;
     StorageHnsEnabled               = storageHnsEnabled;
     MlFlowTrackingUri               = mlFlowTrackingUri;
 }
 internal DeviceUpdateAccountData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, ManagedServiceIdentity identity, ProvisioningState?provisioningState, string hostName, PublicNetworkAccess?publicNetworkAccess) : base(id, name, type, systemData, tags, location)
 {
     Identity            = identity;
     ProvisioningState   = provisioningState;
     HostName            = hostName;
     PublicNetworkAccess = publicNetworkAccess;
 }
 internal DatabaseAccountCreateOrUpdateContent(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, DatabaseAccountKind?kind, ManagedServiceIdentity identity, ConsistencyPolicy consistencyPolicy, IList <DatabaseAccountLocation> locations, string databaseAccountOfferType, IList <IPAddressOrRange> ipRules, bool?isVirtualNetworkFilterEnabled, bool?enableAutomaticFailover, IList <DatabaseAccountCapability> capabilities, IList <VirtualNetworkRule> virtualNetworkRules, bool?enableMultipleWriteLocations, bool?enableCassandraConnector, ConnectorOffer?connectorOffer, bool?disableKeyBasedMetadataWriteAccess, Uri keyVaultKeyUri, string defaultIdentity, PublicNetworkAccess?publicNetworkAccess, bool?enableFreeTier, ApiProperties apiProperties, bool?enableAnalyticalStorage, AnalyticalStorageConfiguration analyticalStorageConfiguration, CreateMode?createMode, BackupPolicy backupPolicy, IList <CorsPolicy> cors, NetworkAclBypass?networkAclBypass, IList <string> networkAclBypassResourceIds, bool?disableLocalAuth, RestoreParameters restoreParameters, Capacity capacity) : base(id, name, resourceType, systemData, tags, location)
 {
     Kind                               = kind;
     Identity                           = identity;
     ConsistencyPolicy                  = consistencyPolicy;
     Locations                          = locations;
     DatabaseAccountOfferType           = databaseAccountOfferType;
     IPRules                            = ipRules;
     IsVirtualNetworkFilterEnabled      = isVirtualNetworkFilterEnabled;
     EnableAutomaticFailover            = enableAutomaticFailover;
     Capabilities                       = capabilities;
     VirtualNetworkRules                = virtualNetworkRules;
     EnableMultipleWriteLocations       = enableMultipleWriteLocations;
     EnableCassandraConnector           = enableCassandraConnector;
     ConnectorOffer                     = connectorOffer;
     DisableKeyBasedMetadataWriteAccess = disableKeyBasedMetadataWriteAccess;
     KeyVaultKeyUri                     = keyVaultKeyUri;
     DefaultIdentity                    = defaultIdentity;
     PublicNetworkAccess                = publicNetworkAccess;
     EnableFreeTier                     = enableFreeTier;
     ApiProperties                      = apiProperties;
     EnableAnalyticalStorage            = enableAnalyticalStorage;
     AnalyticalStorageConfiguration     = analyticalStorageConfiguration;
     CreateMode                         = createMode;
     BackupPolicy                       = backupPolicy;
     Cors                               = cors;
     NetworkAclBypass                   = networkAclBypass;
     NetworkAclBypassResourceIds        = networkAclBypassResourceIds;
     DisableLocalAuth                   = disableLocalAuth;
     RestoreParameters                  = restoreParameters;
     Capacity                           = capacity;
 }
示例#4
0
 internal SnapshotData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, string managedBy, SnapshotSku sku, ExtendedLocation extendedLocation, DateTimeOffset?timeCreated, OperatingSystemTypes?osType, HyperVGeneration?hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, DiskCreationData creationData, int?diskSizeGB, long?diskSizeBytes, DiskState?diskState, string uniqueId, EncryptionSettingsGroup encryptionSettingsGroup, string provisioningState, bool?incremental, DiskEncryption encryption, NetworkAccessPolicy?networkAccessPolicy, ResourceIdentifier diskAccessId, DiskSecurityProfile securityProfile, bool?supportsHibernation, PublicNetworkAccess?publicNetworkAccess, float?completionPercent, CopyCompletionError copyCompletionError, DataAccessAuthMode?dataAccessAuthMode) : base(id, name, resourceType, systemData, tags, location)
 {
     ManagedBy               = managedBy;
     Sku                     = sku;
     ExtendedLocation        = extendedLocation;
     TimeCreated             = timeCreated;
     OSType                  = osType;
     HyperVGeneration        = hyperVGeneration;
     PurchasePlan            = purchasePlan;
     SupportedCapabilities   = supportedCapabilities;
     CreationData            = creationData;
     DiskSizeGB              = diskSizeGB;
     DiskSizeBytes           = diskSizeBytes;
     DiskState               = diskState;
     UniqueId                = uniqueId;
     EncryptionSettingsGroup = encryptionSettingsGroup;
     ProvisioningState       = provisioningState;
     Incremental             = incremental;
     Encryption              = encryption;
     NetworkAccessPolicy     = networkAccessPolicy;
     DiskAccessId            = diskAccessId;
     SecurityProfile         = securityProfile;
     SupportsHibernation     = supportsHibernation;
     PublicNetworkAccess     = publicNetworkAccess;
     CompletionPercent       = completionPercent;
     CopyCompletionError     = copyCompletionError;
     DataAccessAuthMode      = dataAccessAuthMode;
 }
示例#5
0
 internal DatabaseAccountGetResults(string id, string name, string type, string location, IDictionary <string, string> tags, DatabaseAccountKind?kind, string provisioningState, string documentEndpoint, string databaseAccountOfferType, IList <IpAddressOrRange> ipRules, bool?isVirtualNetworkFilterEnabled, bool?enableAutomaticFailover, ConsistencyPolicy consistencyPolicy, IList <Capability> capabilities, IReadOnlyList <Location> writeLocations, IReadOnlyList <Location> readLocations, IReadOnlyList <Location> locations, IReadOnlyList <FailoverPolicy> failoverPolicies, IList <VirtualNetworkRule> virtualNetworkRules, IReadOnlyList <PrivateEndpointConnection> privateEndpointConnections, bool?enableMultipleWriteLocations, bool?enableCassandraConnector, ConnectorOffer?connectorOffer, bool?disableKeyBasedMetadataWriteAccess, string keyVaultKeyUri, PublicNetworkAccess?publicNetworkAccess, bool?enableFreeTier, ApiProperties apiProperties, bool?enableAnalyticalStorage, IList <CorsPolicy> cors) : base(id, name, type, location, tags)
 {
     Kind = kind;
     ProvisioningState        = provisioningState;
     DocumentEndpoint         = documentEndpoint;
     DatabaseAccountOfferType = databaseAccountOfferType;
     IpRules = ipRules;
     IsVirtualNetworkFilterEnabled = isVirtualNetworkFilterEnabled;
     EnableAutomaticFailover       = enableAutomaticFailover;
     ConsistencyPolicy             = consistencyPolicy;
     Capabilities                       = capabilities;
     WriteLocations                     = writeLocations;
     ReadLocations                      = readLocations;
     Locations                          = locations;
     FailoverPolicies                   = failoverPolicies;
     VirtualNetworkRules                = virtualNetworkRules;
     PrivateEndpointConnections         = privateEndpointConnections;
     EnableMultipleWriteLocations       = enableMultipleWriteLocations;
     EnableCassandraConnector           = enableCassandraConnector;
     ConnectorOffer                     = connectorOffer;
     DisableKeyBasedMetadataWriteAccess = disableKeyBasedMetadataWriteAccess;
     KeyVaultKeyUri                     = keyVaultKeyUri;
     PublicNetworkAccess                = publicNetworkAccess;
     EnableFreeTier                     = enableFreeTier;
     ApiProperties                      = apiProperties;
     EnableAnalyticalStorage            = enableAnalyticalStorage;
     Cors = cors;
 }
示例#6
0
 internal DeviceUpdateAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, ManagedServiceIdentity identity, ProvisioningState?provisioningState, string hostName, PublicNetworkAccess?publicNetworkAccess, IList <DeviceUpdatePrivateEndpointConnectionData> privateEndpointConnections, DeviceUpdateSku?sku, IReadOnlyList <DeviceUpdateAccountLocationDetail> locations) : base(id, name, resourceType, systemData, tags, location)
 {
     Identity                   = identity;
     ProvisioningState          = provisioningState;
     HostName                   = hostName;
     PublicNetworkAccess        = publicNetworkAccess;
     PrivateEndpointConnections = privateEndpointConnections;
     Sku       = sku;
     Locations = locations;
 }
 internal ConfigurationStore(string id, string name, string type, string location, IDictionary <string, string> tags, ResourceIdentity identity, Sku sku, ProvisioningState?provisioningState, DateTimeOffset?creationDate, string endpoint, EncryptionProperties encryption, IReadOnlyList <PrivateEndpointConnectionReference> privateEndpointConnections, PublicNetworkAccess?publicNetworkAccess) : base(id, name, type, location, tags)
 {
     Identity                   = identity;
     Sku                        = sku;
     ProvisioningState          = provisioningState;
     CreationDate               = creationDate;
     Endpoint                   = endpoint;
     Encryption                 = encryption;
     PrivateEndpointConnections = privateEndpointConnections;
     PublicNetworkAccess        = publicNetworkAccess;
 }
示例#8
0
 internal ConfigurationStoreData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, ManagedServiceIdentity identity, AppConfigurationSku sku, ProvisioningState?provisioningState, DateTimeOffset?creationDate, string endpoint, Models.EncryptionProperties encryption, IReadOnlyList <PrivateEndpointConnectionReference> privateEndpointConnections, PublicNetworkAccess?publicNetworkAccess) : base(id, name, resourceType, systemData, tags, location)
 {
     Identity                   = identity;
     Sku                        = sku;
     ProvisioningState          = provisioningState;
     CreationDate               = creationDate;
     Endpoint                   = endpoint;
     Encryption                 = encryption;
     PrivateEndpointConnections = privateEndpointConnections;
     PublicNetworkAccess        = publicNetworkAccess;
 }
 /// <summary>
 /// Initializes a new instance of the MediaServiceUpdate class.
 /// </summary>
 /// <param name="tags">Resource tags.</param>
 /// <param name="mediaServiceId">The Media Services account ID.</param>
 /// <param name="storageAccounts">The storage accounts for this
 /// resource.</param>
 /// <param name="storageAuthentication">Possible values include:
 /// 'System', 'ManagedIdentity'</param>
 /// <param name="encryption">The account encryption properties.</param>
 /// <param name="keyDelivery">The Key Delivery properties for Media
 /// Services account.</param>
 /// <param name="publicNetworkAccess">Whether or not public network
 /// access is allowed for resources under the Media Services account.
 /// Possible values include: 'Enabled', 'Disabled'</param>
 /// <param name="identity">The Managed Identity for the Media Services
 /// account.</param>
 public MediaServiceUpdate(IDictionary <string, string> tags = default(IDictionary <string, string>), System.Guid mediaServiceId = default(System.Guid), IList <StorageAccount> storageAccounts = default(IList <StorageAccount>), StorageAuthentication?storageAuthentication = default(StorageAuthentication?), AccountEncryption encryption = default(AccountEncryption), KeyDelivery keyDelivery = default(KeyDelivery), PublicNetworkAccess?publicNetworkAccess = default(PublicNetworkAccess?), MediaServiceIdentity identity = default(MediaServiceIdentity))
 {
     Tags                  = tags;
     MediaServiceId        = mediaServiceId;
     StorageAccounts       = storageAccounts;
     StorageAuthentication = storageAuthentication;
     Encryption            = encryption;
     KeyDelivery           = keyDelivery;
     PublicNetworkAccess   = publicNetworkAccess;
     Identity              = identity;
     CustomInit();
 }
示例#10
0
 /// <summary>
 /// Initializes a new instance of the MediaService class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="mediaServiceId">The Media Services account ID.</param>
 /// <param name="storageAccounts">The storage accounts for this
 /// resource.</param>
 /// <param name="storageAuthentication">Possible values include:
 /// 'System', 'ManagedIdentity'</param>
 /// <param name="encryption">The account encryption properties.</param>
 /// <param name="keyDelivery">The Key Delivery properties for Media
 /// Services account.</param>
 /// <param name="publicNetworkAccess">Whether or not public network
 /// access is allowed for resources under the Media Services account.
 /// Possible values include: 'Enabled', 'Disabled'</param>
 /// <param name="identity">The Managed Identity for the Media Services
 /// account.</param>
 /// <param name="systemData">The system metadata relating to this
 /// resource.</param>
 public MediaService(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), System.Guid mediaServiceId = default(System.Guid), IList <StorageAccount> storageAccounts = default(IList <StorageAccount>), StorageAuthentication?storageAuthentication = default(StorageAuthentication?), AccountEncryption encryption = default(AccountEncryption), KeyDelivery keyDelivery = default(KeyDelivery), PublicNetworkAccess?publicNetworkAccess = default(PublicNetworkAccess?), MediaServiceIdentity identity = default(MediaServiceIdentity), SystemData systemData = default(SystemData))
     : base(location, id, name, type, tags)
 {
     MediaServiceId        = mediaServiceId;
     StorageAccounts       = storageAccounts;
     StorageAuthentication = storageAuthentication;
     Encryption            = encryption;
     KeyDelivery           = keyDelivery;
     PublicNetworkAccess   = publicNetworkAccess;
     Identity   = identity;
     SystemData = systemData;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the VideoAnalyzerUpdate class.
 /// </summary>
 /// <param name="tags">Resource tags.</param>
 /// <param name="storageAccounts">The storage accounts for this
 /// resource.</param>
 /// <param name="endpoints">The endpoints associated with this
 /// resource.</param>
 /// <param name="encryption">The account encryption properties.</param>
 /// <param name="iotHubs">The IoT Hubs for this resource.</param>
 /// <param name="publicNetworkAccess">Whether or not public network
 /// access is allowed for resources under the Video Analyzer account.
 /// Possible values include: 'Enabled', 'Disabled'</param>
 /// <param name="networkAccessControl">Network access control for Video
 /// Analyzer.</param>
 /// <param name="provisioningState">Provisioning state of the Video
 /// Analyzer account. Possible values include: 'Failed', 'InProgress',
 /// 'Succeeded'</param>
 /// <param name="privateEndpointConnections">Private Endpoint
 /// Connections created under Video Analyzer account.</param>
 /// <param name="identity">The identities associated to the Video
 /// Analyzer resource.</param>
 public VideoAnalyzerUpdate(IDictionary <string, string> tags = default(IDictionary <string, string>), IList <StorageAccount> storageAccounts = default(IList <StorageAccount>), IList <Endpoint> endpoints = default(IList <Endpoint>), AccountEncryption encryption = default(AccountEncryption), IList <IotHub> iotHubs = default(IList <IotHub>), PublicNetworkAccess?publicNetworkAccess = default(PublicNetworkAccess?), NetworkAccessControl networkAccessControl = default(NetworkAccessControl), ProvisioningState provisioningState = default(ProvisioningState), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), VideoAnalyzerIdentity identity = default(VideoAnalyzerIdentity))
 {
     Tags                       = tags;
     StorageAccounts            = storageAccounts;
     Endpoints                  = endpoints;
     Encryption                 = encryption;
     IotHubs                    = iotHubs;
     PublicNetworkAccess        = publicNetworkAccess;
     NetworkAccessControl       = networkAccessControl;
     ProvisioningState          = provisioningState;
     PrivateEndpointConnections = privateEndpointConnections;
     Identity                   = identity;
     CustomInit();
 }
 internal IotCentralAppData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, AppSkuInfo sku, SystemAssignedServiceIdentity identity, ProvisioningState?provisioningState, string applicationId, string displayName, string subdomain, string template, AppState?state, PublicNetworkAccess?publicNetworkAccess, NetworkRuleSets networkRuleSets, IReadOnlyList <IotCentralPrivateEndpointConnectionData> privateEndpointConnections) : base(id, name, resourceType, systemData, tags, location)
 {
     Sku                        = sku;
     Identity                   = identity;
     ProvisioningState          = provisioningState;
     ApplicationId              = applicationId;
     DisplayName                = displayName;
     Subdomain                  = subdomain;
     Template                   = template;
     State                      = state;
     PublicNetworkAccess        = publicNetworkAccess;
     NetworkRuleSets            = networkRuleSets;
     PrivateEndpointConnections = privateEndpointConnections;
 }
示例#13
0
 /// <summary>
 /// Initializes a new instance of the VideoAnalyzerAccount class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives</param>
 /// <param name="storageAccounts">The storage accounts for this
 /// resource.</param>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="systemData">Azure Resource Manager metadata containing
 /// createdBy and modifiedBy information.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="endpoints">The endpoints associated with this
 /// resource.</param>
 /// <param name="encryption">The account encryption properties.</param>
 /// <param name="iotHubs">The IoT Hubs for this resource.</param>
 /// <param name="publicNetworkAccess">Whether or not public network
 /// access is allowed for resources under the Video Analyzer account.
 /// Possible values include: 'Enabled', 'Disabled'</param>
 /// <param name="networkAccessControl">Network access control for Video
 /// Analyzer.</param>
 /// <param name="provisioningState">Provisioning state of the Video
 /// Analyzer account. Possible values include: 'Failed', 'InProgress',
 /// 'Succeeded'</param>
 /// <param name="privateEndpointConnections">Private Endpoint
 /// Connections created under Video Analyzer account.</param>
 /// <param name="identity">The identities associated to the Video
 /// Analyzer resource.</param>
 public VideoAnalyzerAccount(string location, IList <StorageAccount> storageAccounts, string id = default(string), string name = default(string), string type = default(string), SystemData systemData = default(SystemData), IDictionary <string, string> tags = default(IDictionary <string, string>), IList <Endpoint> endpoints = default(IList <Endpoint>), AccountEncryption encryption = default(AccountEncryption), IList <IotHub> iotHubs = default(IList <IotHub>), PublicNetworkAccess?publicNetworkAccess = default(PublicNetworkAccess?), NetworkAccessControl networkAccessControl = default(NetworkAccessControl), ProvisioningState provisioningState = default(ProvisioningState), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), VideoAnalyzerIdentity identity = default(VideoAnalyzerIdentity))
     : base(location, id, name, type, systemData, tags)
 {
     StorageAccounts            = storageAccounts;
     Endpoints                  = endpoints;
     Encryption                 = encryption;
     IotHubs                    = iotHubs;
     PublicNetworkAccess        = publicNetworkAccess;
     NetworkAccessControl       = networkAccessControl;
     ProvisioningState          = provisioningState;
     PrivateEndpointConnections = privateEndpointConnections;
     Identity                   = identity;
     CustomInit();
 }
 internal ConfigurationStoreData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, ManagedServiceIdentity identity, AppConfigurationSku sku, ProvisioningState?provisioningState, DateTimeOffset?creationOn, string endpoint, Models.EncryptionProperties encryption, IReadOnlyList <PrivateEndpointConnectionReference> privateEndpointConnections, PublicNetworkAccess?publicNetworkAccess, bool?disableLocalAuth, int?softDeleteRetentionInDays, bool?enablePurgeProtection, CreateMode?createMode) : base(id, name, resourceType, systemData, tags, location)
 {
     Identity                   = identity;
     Sku                        = sku;
     ProvisioningState          = provisioningState;
     CreationOn                 = creationOn;
     Endpoint                   = endpoint;
     Encryption                 = encryption;
     PrivateEndpointConnections = privateEndpointConnections;
     PublicNetworkAccess        = publicNetworkAccess;
     DisableLocalAuth           = disableLocalAuth;
     SoftDeleteRetentionInDays  = softDeleteRetentionInDays;
     EnablePurgeProtection      = enablePurgeProtection;
     CreateMode                 = createMode;
 }
 /// <summary>
 /// Initializes a new instance of the SearchService class.
 /// </summary>
 /// <param name="id">The ID of the resource. This can be used with the
 /// Azure Resource Manager to link resources together.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The resource type.</param>
 /// <param name="location">The geographic location of the resource.
 /// This must be one of the supported and registered Azure Geo Regions
 /// (for example, West US, East US, Southeast Asia, and so forth). This
 /// property is required when creating a new resource.</param>
 /// <param name="tags">Tags to help categorize the resource in the
 /// Azure portal.</param>
 /// <param name="identity">The identity of the resource.</param>
 /// <param name="replicaCount">The number of replicas in the Search
 /// service. If specified, it must be a value between 1 and 12
 /// inclusive for standard SKUs or between 1 and 3 inclusive for basic
 /// SKU.</param>
 /// <param name="partitionCount">The number of partitions in the Search
 /// service; if specified, it can be 1, 2, 3, 4, 6, or 12. Values
 /// greater than 1 are only valid for standard SKUs. For 'standard3'
 /// services with hostingMode set to 'highDensity', the allowed values
 /// are between 1 and 3.</param>
 /// <param name="hostingMode">Applicable only for the standard3 SKU.
 /// You can set this property to enable up to 3 high density partitions
 /// that allow up to 1000 indexes, which is much higher than the
 /// maximum indexes allowed for any other SKU. For the standard3 SKU,
 /// the value is either 'default' or 'highDensity'. For all other SKUs,
 /// this value must be 'default'. Possible values include: 'default',
 /// 'highDensity'</param>
 /// <param name="publicNetworkAccess">This value can be set to
 /// 'enabled' to avoid breaking changes on existing customer resources
 /// and templates. If set to 'disabled', traffic over public interface
 /// is not allowed, and private endpoint connections would be the
 /// exclusive access method. Possible values include: 'enabled',
 /// 'disabled'</param>
 /// <param name="status">The status of the Search service. Possible
 /// values include: 'running': The Search service is running and no
 /// provisioning operations are underway. 'provisioning': The Search
 /// service is being provisioned or scaled up or down. 'deleting': The
 /// Search service is being deleted. 'degraded': The Search service is
 /// degraded. This can occur when the underlying search units are not
 /// healthy. The Search service is most likely operational, but
 /// performance might be slow and some requests might be dropped.
 /// 'disabled': The Search service is disabled. In this state, the
 /// service will reject all API requests. 'error': The Search service
 /// is in an error state. If your service is in the degraded, disabled,
 /// or error states, it means the Azure Cognitive Search team is
 /// actively investigating the underlying issue. Dedicated services in
 /// these states are still chargeable based on the number of search
 /// units provisioned. Possible values include: 'running',
 /// 'provisioning', 'deleting', 'degraded', 'disabled', 'error'</param>
 /// <param name="statusDetails">The details of the Search service
 /// status.</param>
 /// <param name="provisioningState">The state of the last provisioning
 /// operation performed on the Search service. Provisioning is an
 /// intermediate state that occurs while service capacity is being
 /// established. After capacity is set up, provisioningState changes to
 /// either 'succeeded' or 'failed'. Client applications can poll
 /// provisioning status (the recommended polling interval is from 30
 /// seconds to one minute) by using the Get Search Service operation to
 /// see when an operation is completed. If you are using the free
 /// service, this value tends to come back as 'succeeded' directly in
 /// the call to Create Search service. This is because the free service
 /// uses capacity that is already set up. Possible values include:
 /// 'succeeded', 'provisioning', 'failed'</param>
 /// <param name="networkRuleSet">Network specific rules that determine
 /// how the Azure Cognitive Search service may be reached.</param>
 /// <param name="privateEndpointConnections">The list of private
 /// endpoint connections to the Azure Cognitive Search service.</param>
 /// <param name="sharedPrivateLinkResources">The list of shared private
 /// link resources managed by the Azure Cognitive Search
 /// service.</param>
 /// <param name="sku">The SKU of the Search Service, which determines
 /// price tier and capacity limits. This property is required when
 /// creating a new Search Service.</param>
 public SearchService(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), Identity identity = default(Identity), int?replicaCount = default(int?), int?partitionCount = default(int?), HostingMode?hostingMode = default(HostingMode?), PublicNetworkAccess?publicNetworkAccess = default(PublicNetworkAccess?), SearchServiceStatus?status = default(SearchServiceStatus?), string statusDetails = default(string), ProvisioningState?provisioningState = default(ProvisioningState?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), IList <SharedPrivateLinkResource> sharedPrivateLinkResources = default(IList <SharedPrivateLinkResource>), Sku sku = default(Sku))
     : base(id, name, type, location, tags, identity)
 {
     ReplicaCount        = replicaCount;
     PartitionCount      = partitionCount;
     HostingMode         = hostingMode;
     PublicNetworkAccess = publicNetworkAccess;
     Status                     = status;
     StatusDetails              = statusDetails;
     ProvisioningState          = provisioningState;
     NetworkRuleSet             = networkRuleSet;
     PrivateEndpointConnections = privateEndpointConnections;
     SharedPrivateLinkResources = sharedPrivateLinkResources;
     Sku = sku;
     CustomInit();
 }
 internal ManagedHsmProperties(Guid?tenantId, IList <string> initialAdminObjectIds, Uri hsmUri, bool?enableSoftDelete, int?softDeleteRetentionInDays, bool?enablePurgeProtection, CreateMode?createMode, string statusMessage, HsmProvisioningState?provisioningState, ManagedHsmNetworkRuleSet networkRuleSet, IReadOnlyList <ManagedHsmPrivateEndpointConnectionItem> privateEndpointConnections, PublicNetworkAccess?publicNetworkAccess, DateTimeOffset?scheduledPurgeOn)
 {
     TenantId = tenantId;
     InitialAdminObjectIds = initialAdminObjectIds;
     HsmUri                     = hsmUri;
     EnableSoftDelete           = enableSoftDelete;
     SoftDeleteRetentionInDays  = softDeleteRetentionInDays;
     EnablePurgeProtection      = enablePurgeProtection;
     CreateMode                 = createMode;
     StatusMessage              = statusMessage;
     ProvisioningState          = provisioningState;
     NetworkRuleSet             = networkRuleSet;
     PrivateEndpointConnections = privateEndpointConnections;
     PublicNetworkAccess        = publicNetworkAccess;
     ScheduledPurgeOn           = scheduledPurgeOn;
 }
示例#17
0
 internal StorageAccountData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, StorageSku sku, StorageKind?kind, ManagedServiceIdentity identity, ExtendedLocation extendedLocation, ProvisioningState?provisioningState, Endpoints primaryEndpoints, string primaryLocation, AccountStatus?statusOfPrimary, DateTimeOffset?lastGeoFailoverOn, string secondaryLocation, AccountStatus?statusOfSecondary, DateTimeOffset?creationOn, CustomDomain customDomain, SasPolicy sasPolicy, KeyPolicy keyPolicy, KeyCreationTime keyCreationTime, Endpoints secondaryEndpoints, Encryption encryption, AccessTier?accessTier, AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication, bool?enableHttpsTrafficOnly, NetworkRuleSet networkRuleSet, bool?isSftpEnabled, bool?isLocalUserEnabled, bool?isHnsEnabled, GeoReplicationStats geoReplicationStats, bool?failoverInProgress, LargeFileSharesState?largeFileSharesState, IReadOnlyList <StoragePrivateEndpointConnectionData> privateEndpointConnections, RoutingPreference routingPreference, BlobRestoreStatus blobRestoreStatus, bool?allowBlobPublicAccess, MinimumTlsVersion?minimumTlsVersion, bool?allowSharedKeyAccess, bool?enableNfsV3, bool?allowCrossTenantReplication, bool?defaultToOAuthAuthentication, PublicNetworkAccess?publicNetworkAccess, ImmutableStorageAccount immutableStorageWithVersioning, AllowedCopyScope?allowedCopyScope, StorageAccountSkuConversionStatus storageAccountSkuConversionStatus, DnsEndpointType?dnsEndpointType) : base(id, name, resourceType, systemData, tags, location)
 {
     Sku                = sku;
     Kind               = kind;
     Identity           = identity;
     ExtendedLocation   = extendedLocation;
     ProvisioningState  = provisioningState;
     PrimaryEndpoints   = primaryEndpoints;
     PrimaryLocation    = primaryLocation;
     StatusOfPrimary    = statusOfPrimary;
     LastGeoFailoverOn  = lastGeoFailoverOn;
     SecondaryLocation  = secondaryLocation;
     StatusOfSecondary  = statusOfSecondary;
     CreationOn         = creationOn;
     CustomDomain       = customDomain;
     SasPolicy          = sasPolicy;
     KeyPolicy          = keyPolicy;
     KeyCreationTime    = keyCreationTime;
     SecondaryEndpoints = secondaryEndpoints;
     Encryption         = encryption;
     AccessTier         = accessTier;
     AzureFilesIdentityBasedAuthentication = azureFilesIdentityBasedAuthentication;
     EnableHttpsTrafficOnly     = enableHttpsTrafficOnly;
     NetworkRuleSet             = networkRuleSet;
     IsSftpEnabled              = isSftpEnabled;
     IsLocalUserEnabled         = isLocalUserEnabled;
     IsHnsEnabled               = isHnsEnabled;
     GeoReplicationStats        = geoReplicationStats;
     FailoverInProgress         = failoverInProgress;
     LargeFileSharesState       = largeFileSharesState;
     PrivateEndpointConnections = privateEndpointConnections;
     RoutingPreference          = routingPreference;
     BlobRestoreStatus          = blobRestoreStatus;
     AllowBlobPublicAccess      = allowBlobPublicAccess;
     MinimumTlsVersion          = minimumTlsVersion;
     AllowSharedKeyAccess       = allowSharedKeyAccess;
     EnableNfsV3 = enableNfsV3;
     AllowCrossTenantReplication    = allowCrossTenantReplication;
     DefaultToOAuthAuthentication   = defaultToOAuthAuthentication;
     PublicNetworkAccess            = publicNetworkAccess;
     ImmutableStorageWithVersioning = immutableStorageWithVersioning;
     AllowedCopyScope = allowedCopyScope;
     StorageAccountSkuConversionStatus = storageAccountSkuConversionStatus;
     DnsEndpointType = dnsEndpointType;
 }
 internal DiskRestorePointData(ResourceIdentifier id, string name, ResourceType type, DateTimeOffset?timeCreated, string sourceResourceId, OperatingSystemTypes?oSType, HyperVGeneration?hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, string familyId, string sourceUniqueId, Encryption encryption, bool?supportsHibernation, NetworkAccessPolicy?networkAccessPolicy, PublicNetworkAccess?publicNetworkAccess, string diskAccessId, float?completionPercent, string replicationState, string sourceResourceLocation) : base(id, name, type)
 {
     TimeCreated            = timeCreated;
     SourceResourceId       = sourceResourceId;
     OSType                 = oSType;
     HyperVGeneration       = hyperVGeneration;
     PurchasePlan           = purchasePlan;
     SupportedCapabilities  = supportedCapabilities;
     FamilyId               = familyId;
     SourceUniqueId         = sourceUniqueId;
     Encryption             = encryption;
     SupportsHibernation    = supportsHibernation;
     NetworkAccessPolicy    = networkAccessPolicy;
     PublicNetworkAccess    = publicNetworkAccess;
     DiskAccessId           = diskAccessId;
     CompletionPercent      = completionPercent;
     ReplicationState       = replicationState;
     SourceResourceLocation = sourceResourceLocation;
 }
 internal DatabaseAccountCreateUpdateParameters(string id, string name, string type, string location, IDictionary <string, string> tags, DatabaseAccountKind?kind, ConsistencyPolicy consistencyPolicy, IList <Location> locations, string databaseAccountOfferType, IList <IpAddressOrRange> ipRules, bool?isVirtualNetworkFilterEnabled, bool?enableAutomaticFailover, IList <Capability> capabilities, IList <VirtualNetworkRule> virtualNetworkRules, bool?enableMultipleWriteLocations, bool?enableCassandraConnector, ConnectorOffer?connectorOffer, bool?disableKeyBasedMetadataWriteAccess, string keyVaultKeyUri, PublicNetworkAccess?publicNetworkAccess, bool?enableFreeTier, ApiProperties apiProperties, bool?enableAnalyticalStorage, IList <CorsPolicy> cors) : base(id, name, type, location, tags)
 {
     Kind = kind;
     ConsistencyPolicy        = consistencyPolicy;
     Locations                = locations;
     DatabaseAccountOfferType = databaseAccountOfferType;
     IpRules = ipRules;
     IsVirtualNetworkFilterEnabled = isVirtualNetworkFilterEnabled;
     EnableAutomaticFailover       = enableAutomaticFailover;
     Capabilities                       = capabilities;
     VirtualNetworkRules                = virtualNetworkRules;
     EnableMultipleWriteLocations       = enableMultipleWriteLocations;
     EnableCassandraConnector           = enableCassandraConnector;
     ConnectorOffer                     = connectorOffer;
     DisableKeyBasedMetadataWriteAccess = disableKeyBasedMetadataWriteAccess;
     KeyVaultKeyUri                     = keyVaultKeyUri;
     PublicNetworkAccess                = publicNetworkAccess;
     EnableFreeTier                     = enableFreeTier;
     ApiProperties                      = apiProperties;
     EnableAnalyticalStorage            = enableAnalyticalStorage;
     Cors = cors;
 }
示例#20
0
 internal DatabaseAccountData(ResourceIdentifier id, string name, ResourceType type, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, DatabaseAccountKind?kind, ManagedServiceIdentity identity, string provisioningState, string documentEndpoint, string databaseAccountOfferType, IList <IpAddressOrRange> ipRules, bool?isVirtualNetworkFilterEnabled, bool?enableAutomaticFailover, ConsistencyPolicy consistencyPolicy, IList <DatabaseAccountCapability> capabilities, IReadOnlyList <DatabaseAccountLocation> writeLocations, IReadOnlyList <DatabaseAccountLocation> readLocations, IReadOnlyList <DatabaseAccountLocation> locations, IReadOnlyList <FailoverPolicy> failoverPolicies, IList <VirtualNetworkRule> virtualNetworkRules, IReadOnlyList <PrivateEndpointConnectionData> privateEndpointConnections, bool?enableMultipleWriteLocations, bool?enableCassandraConnector, ConnectorOffer?connectorOffer, bool?disableKeyBasedMetadataWriteAccess, Uri keyVaultKeyUri, string defaultIdentity, PublicNetworkAccess?publicNetworkAccess, bool?enableFreeTier, ApiProperties apiProperties, bool?enableAnalyticalStorage, AnalyticalStorageConfiguration analyticalStorageConfiguration, string instanceId, CreateMode?createMode, RestoreParameters restoreParameters, BackupPolicy backupPolicy, IList <CorsPolicy> cors, NetworkAclBypass?networkAclBypass, IList <string> networkAclBypassResourceIds, bool?disableLocalAuth, Capacity capacity) : base(id, name, type, systemData, tags, location)
 {
     Kind                               = kind;
     Identity                           = identity;
     ProvisioningState                  = provisioningState;
     DocumentEndpoint                   = documentEndpoint;
     DatabaseAccountOfferType           = databaseAccountOfferType;
     IpRules                            = ipRules;
     IsVirtualNetworkFilterEnabled      = isVirtualNetworkFilterEnabled;
     EnableAutomaticFailover            = enableAutomaticFailover;
     ConsistencyPolicy                  = consistencyPolicy;
     Capabilities                       = capabilities;
     WriteLocations                     = writeLocations;
     ReadLocations                      = readLocations;
     Locations                          = locations;
     FailoverPolicies                   = failoverPolicies;
     VirtualNetworkRules                = virtualNetworkRules;
     PrivateEndpointConnections         = privateEndpointConnections;
     EnableMultipleWriteLocations       = enableMultipleWriteLocations;
     EnableCassandraConnector           = enableCassandraConnector;
     ConnectorOffer                     = connectorOffer;
     DisableKeyBasedMetadataWriteAccess = disableKeyBasedMetadataWriteAccess;
     KeyVaultKeyUri                     = keyVaultKeyUri;
     DefaultIdentity                    = defaultIdentity;
     PublicNetworkAccess                = publicNetworkAccess;
     EnableFreeTier                     = enableFreeTier;
     ApiProperties                      = apiProperties;
     EnableAnalyticalStorage            = enableAnalyticalStorage;
     AnalyticalStorageConfiguration     = analyticalStorageConfiguration;
     InstanceId                         = instanceId;
     CreateMode                         = createMode;
     RestoreParameters                  = restoreParameters;
     BackupPolicy                       = backupPolicy;
     Cors                               = cors;
     NetworkAclBypass                   = networkAclBypass;
     NetworkAclBypassResourceIds        = networkAclBypassResourceIds;
     DisableLocalAuth                   = disableLocalAuth;
     Capacity                           = capacity;
 }
示例#21
0
 internal ManagedDiskData(ResourceIdentifier id, string name, ResourceType resourceType, SystemData systemData, IDictionary <string, string> tags, AzureLocation location, ResourceIdentifier managedBy, IReadOnlyList <ResourceIdentifier> managedByExtended, DiskSku sku, IList <string> zones, ExtendedLocation extendedLocation, DateTimeOffset?timeCreated, OperatingSystemTypes?osType, HyperVGeneration?hyperVGeneration, DiskPurchasePlan purchasePlan, SupportedCapabilities supportedCapabilities, DiskCreationData creationData, int?diskSizeGB, long?diskSizeBytes, string uniqueId, EncryptionSettingsGroup encryptionSettingsGroup, string provisioningState, long?diskIopsReadWrite, long?diskMBpsReadWrite, long?diskIopsReadOnly, long?diskMBpsReadOnly, DiskState?diskState, DiskEncryption encryption, int?maxShares, IReadOnlyList <ShareInfoElement> shareInfo, NetworkAccessPolicy?networkAccessPolicy, ResourceIdentifier diskAccessId, string tier, bool?burstingEnabled, PropertyUpdatesInProgress propertyUpdatesInProgress, bool?supportsHibernation, DiskSecurityProfile securityProfile, float?completionPercent, PublicNetworkAccess?publicNetworkAccess, DataAccessAuthMode?dataAccessAuthMode) : base(id, name, resourceType, systemData, tags, location)
 {
     ManagedBy         = managedBy;
     ManagedByExtended = managedByExtended;
     Sku                       = sku;
     Zones                     = zones;
     ExtendedLocation          = extendedLocation;
     TimeCreated               = timeCreated;
     OSType                    = osType;
     HyperVGeneration          = hyperVGeneration;
     PurchasePlan              = purchasePlan;
     SupportedCapabilities     = supportedCapabilities;
     CreationData              = creationData;
     DiskSizeGB                = diskSizeGB;
     DiskSizeBytes             = diskSizeBytes;
     UniqueId                  = uniqueId;
     EncryptionSettingsGroup   = encryptionSettingsGroup;
     ProvisioningState         = provisioningState;
     DiskIopsReadWrite         = diskIopsReadWrite;
     DiskMBpsReadWrite         = diskMBpsReadWrite;
     DiskIopsReadOnly          = diskIopsReadOnly;
     DiskMBpsReadOnly          = diskMBpsReadOnly;
     DiskState                 = diskState;
     Encryption                = encryption;
     MaxShares                 = maxShares;
     ShareInfo                 = shareInfo;
     NetworkAccessPolicy       = networkAccessPolicy;
     DiskAccessId              = diskAccessId;
     Tier                      = tier;
     BurstingEnabled           = burstingEnabled;
     PropertyUpdatesInProgress = propertyUpdatesInProgress;
     SupportsHibernation       = supportsHibernation;
     SecurityProfile           = securityProfile;
     CompletionPercent         = completionPercent;
     PublicNetworkAccess       = publicNetworkAccess;
     DataAccessAuthMode        = dataAccessAuthMode;
 }
 /// <summary>
 /// Initializes a new instance of the GroupLevelAccessControl class.
 /// </summary>
 /// <param name="publicNetworkAccess">Whether or not public network
 /// access is allowed for specified resources under the Video Analyzer
 /// account. Possible values include: 'Enabled', 'Disabled'</param>
 public GroupLevelAccessControl(PublicNetworkAccess?publicNetworkAccess = default(PublicNetworkAccess?))
 {
     PublicNetworkAccess = publicNetworkAccess;
     CustomInit();
 }
示例#23
0
 internal static string ToSerializedValue(this PublicNetworkAccess?value)
 {
     return(value == null ? null : ((PublicNetworkAccess)value).ToSerializedValue());
 }