/// <summary>
 /// Initializes a new instance of the RegistryUpdateParameters class.
 /// </summary>
 /// <param name="identity">The identity of the container
 /// registry.</param>
 /// <param name="tags">The tags for the container registry.</param>
 /// <param name="sku">The SKU of the container registry.</param>
 /// <param name="adminUserEnabled">The value that indicates whether the
 /// admin user is enabled.</param>
 /// <param name="networkRuleSet">The network rule set for a container
 /// registry.</param>
 /// <param name="policies">The policies for a container
 /// registry.</param>
 /// <param name="encryption">The encryption settings of container
 /// registry.</param>
 /// <param name="dataEndpointEnabled">Enable a single data endpoint per
 /// region for serving data.</param>
 /// <param name="publicNetworkAccess">Whether or not public network
 /// access is allowed for the container registry. Possible values
 /// include: 'Enabled', 'Disabled'</param>
 /// <param name="networkRuleBypassOptions">Whether to allow trusted
 /// Azure services to access a network restricted registry. Possible
 /// values include: 'AzureServices', 'None'</param>
 /// <param name="anonymousPullEnabled">Enables registry-wide pull from
 /// unauthenticated clients.</param>
 public RegistryUpdateParameters(IdentityProperties identity = default(IdentityProperties), IDictionary <string, string> tags = default(IDictionary <string, string>), Sku sku = default(Sku), bool?adminUserEnabled = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), Policies policies = default(Policies), EncryptionProperty encryption = default(EncryptionProperty), bool?dataEndpointEnabled = default(bool?), string publicNetworkAccess = default(string), string networkRuleBypassOptions = default(string), bool?anonymousPullEnabled = default(bool?))
 {
     Identity                 = identity;
     Tags                     = tags;
     Sku                      = sku;
     AdminUserEnabled         = adminUserEnabled;
     NetworkRuleSet           = networkRuleSet;
     Policies                 = policies;
     Encryption               = encryption;
     DataEndpointEnabled      = dataEndpointEnabled;
     PublicNetworkAccess      = publicNetworkAccess;
     NetworkRuleBypassOptions = networkRuleBypassOptions;
     AnonymousPullEnabled     = anonymousPullEnabled;
     CustomInit();
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the Registry class.
 /// </summary>
 /// <param name="location">The location of the resource. This cannot be
 /// changed after the resource is created.</param>
 /// <param name="sku">The SKU of the container registry.</param>
 /// <param name="id">The resource ID.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="tags">The tags of the resource.</param>
 /// <param name="identity">The identity of the container
 /// registry.</param>
 /// <param name="loginServer">The URL that can be used to log into the
 /// container registry.</param>
 /// <param name="creationDate">The creation date of the container
 /// registry in ISO8601 format.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// container registry at the time the operation was called. Possible
 /// values include: 'Creating', 'Updating', 'Deleting', 'Succeeded',
 /// 'Failed', 'Canceled'</param>
 /// <param name="status">The status of the container registry at the
 /// time the operation was called.</param>
 /// <param name="adminUserEnabled">The value that indicates whether the
 /// admin user is enabled.</param>
 /// <param name="storageAccount">The properties of the storage account
 /// for the container registry. Only applicable to Classic SKU.</param>
 /// <param name="networkRuleSet">The network rule set for a container
 /// registry.</param>
 /// <param name="policies">The policies for a container
 /// registry.</param>
 /// <param name="encryption">The encryption settings of container
 /// registry.</param>
 /// <param name="dataEndpointEnabled">Enable a single data endpoint per
 /// region for serving data.</param>
 /// <param name="dataEndpointHostNames">List of host names that will
 /// serve data when dataEndpointEnabled is true.</param>
 /// <param name="privateEndpointConnections">List of private endpoint
 /// connections for a container registry.</param>
 public Registry(string location, Sku sku, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), IdentityProperties identity = default(IdentityProperties), string loginServer = default(string), System.DateTime?creationDate = default(System.DateTime?), string provisioningState = default(string), Status status = default(Status), bool?adminUserEnabled = default(bool?), StorageAccountProperties storageAccount = default(StorageAccountProperties), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), Policies policies = default(Policies), EncryptionProperty encryption = default(EncryptionProperty), bool?dataEndpointEnabled = default(bool?), IList <string> dataEndpointHostNames = default(IList <string>), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>))
     : base(location, id, name, type, tags)
 {
     Sku                        = sku;
     Identity                   = identity;
     LoginServer                = loginServer;
     CreationDate               = creationDate;
     ProvisioningState          = provisioningState;
     Status                     = status;
     AdminUserEnabled           = adminUserEnabled;
     StorageAccount             = storageAccount;
     NetworkRuleSet             = networkRuleSet;
     Policies                   = policies;
     Encryption                 = encryption;
     DataEndpointEnabled        = dataEndpointEnabled;
     DataEndpointHostNames      = dataEndpointHostNames;
     PrivateEndpointConnections = privateEndpointConnections;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the Registry class.
 /// </summary>
 /// <param name="location">The location of the resource. This cannot be
 /// changed after the resource is created.</param>
 /// <param name="sku">The SKU of the container registry.</param>
 /// <param name="id">The resource ID.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="tags">The tags of the resource.</param>
 /// <param name="systemData">Metadata pertaining to creation and last
 /// modification of the resource.</param>
 /// <param name="identity">The identity of the container
 /// registry.</param>
 /// <param name="loginServer">The URL that can be used to log into the
 /// container registry.</param>
 /// <param name="creationDate">The creation date of the container
 /// registry in ISO8601 format.</param>
 /// <param name="provisioningState">The provisioning state of the
 /// container registry at the time the operation was called. Possible
 /// values include: 'Creating', 'Updating', 'Deleting', 'Succeeded',
 /// 'Failed', 'Canceled'</param>
 /// <param name="status">The status of the container registry at the
 /// time the operation was called.</param>
 /// <param name="adminUserEnabled">The value that indicates whether the
 /// admin user is enabled.</param>
 /// <param name="networkRuleSet">The network rule set for a container
 /// registry.</param>
 /// <param name="policies">The policies for a container
 /// registry.</param>
 /// <param name="encryption">The encryption settings of container
 /// registry.</param>
 /// <param name="dataEndpointEnabled">Enable a single data endpoint per
 /// region for serving data.</param>
 /// <param name="dataEndpointHostNames">List of host names that will
 /// serve data when dataEndpointEnabled is true.</param>
 /// <param name="privateEndpointConnections">List of private endpoint
 /// connections for a container registry.</param>
 /// <param name="publicNetworkAccess">Whether or not public network
 /// access is allowed for the container registry. Possible values
 /// include: 'Enabled', 'Disabled'</param>
 /// <param name="networkRuleBypassOptions">Whether to allow trusted
 /// Azure services to access a network restricted registry. Possible
 /// values include: 'AzureServices', 'None'</param>
 /// <param name="zoneRedundancy">Whether or not zone redundancy is
 /// enabled for this container registry. Possible values include:
 /// 'Enabled', 'Disabled'</param>
 /// <param name="anonymousPullEnabled">Enables registry-wide pull from
 /// unauthenticated clients.</param>
 public Registry(string location, Sku sku, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), SystemData systemData = default(SystemData), IdentityProperties identity = default(IdentityProperties), string loginServer = default(string), System.DateTime?creationDate = default(System.DateTime?), string provisioningState = default(string), Status status = default(Status), bool?adminUserEnabled = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), Policies policies = default(Policies), EncryptionProperty encryption = default(EncryptionProperty), bool?dataEndpointEnabled = default(bool?), IList <string> dataEndpointHostNames = default(IList <string>), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), string publicNetworkAccess = default(string), string networkRuleBypassOptions = default(string), string zoneRedundancy = default(string), bool?anonymousPullEnabled = default(bool?))
     : base(location, id, name, type, tags, systemData)
 {
     Sku                        = sku;
     Identity                   = identity;
     LoginServer                = loginServer;
     CreationDate               = creationDate;
     ProvisioningState          = provisioningState;
     Status                     = status;
     AdminUserEnabled           = adminUserEnabled;
     NetworkRuleSet             = networkRuleSet;
     Policies                   = policies;
     Encryption                 = encryption;
     DataEndpointEnabled        = dataEndpointEnabled;
     DataEndpointHostNames      = dataEndpointHostNames;
     PrivateEndpointConnections = privateEndpointConnections;
     PublicNetworkAccess        = publicNetworkAccess;
     NetworkRuleBypassOptions   = networkRuleBypassOptions;
     ZoneRedundancy             = zoneRedundancy;
     AnonymousPullEnabled       = anonymousPullEnabled;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the RegistryUpdateParameters class.
 /// </summary>
 /// <param name="tags">The tags for the container registry.</param>
 /// <param name="sku">The SKU of the container registry.</param>
 /// <param name="identity">The identity of the container
 /// registry.</param>
 /// <param name="adminUserEnabled">The value that indicates whether the
 /// admin user is enabled.</param>
 /// <param name="networkRuleSet">The network rule set for a container
 /// registry.</param>
 /// <param name="policies">The policies for a container
 /// registry.</param>
 /// <param name="encryption">The encryption settings of container
 /// registry.</param>
 /// <param name="dataEndpointEnabled">Enable a single data endpoint per
 /// region for serving data.</param>
 public RegistryUpdateParameters(IDictionary <string, string> tags = default(IDictionary <string, string>), Sku sku = default(Sku), IdentityProperties identity = default(IdentityProperties), bool?adminUserEnabled = default(bool?), NetworkRuleSet networkRuleSet = default(NetworkRuleSet), Policies policies = default(Policies), EncryptionProperty encryption = default(EncryptionProperty), bool?dataEndpointEnabled = default(bool?))
 {
     Tags                = tags;
     Sku                 = sku;
     Identity            = identity;
     AdminUserEnabled    = adminUserEnabled;
     NetworkRuleSet      = networkRuleSet;
     Policies            = policies;
     Encryption          = encryption;
     DataEndpointEnabled = dataEndpointEnabled;
     CustomInit();
 }