Exemple #1
0
 /// <summary>
 /// Initializes a new instance of the Replication class.
 /// </summary>
 /// <param name="location">The location of the resource. This cannot be
 /// changed after the resource is created.</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="provisioningState">The provisioning state of the
 /// replication at the time the operation was called. Possible values
 /// include: 'Creating', 'Updating', 'Deleting', 'Succeeded', 'Failed',
 /// 'Canceled'</param>
 /// <param name="status">The status of the replication at the time the
 /// operation was called.</param>
 public Replication(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string provisioningState = default(string), Status1 status = default(Status1))
     : base(location, id, name, type, tags)
 {
     ProvisioningState = provisioningState;
     Status            = status;
     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="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>
 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>), string loginServer = default(string), System.DateTime?creationDate = default(System.DateTime?), string provisioningState = default(string), Status1 status = default(Status1), bool?adminUserEnabled = default(bool?), StorageAccountProperties storageAccount = default(StorageAccountProperties), NetworkRuleSet networkRuleSet = default(NetworkRuleSet))
     : base(location, id, name, type, tags)
 {
     Sku               = sku;
     LoginServer       = loginServer;
     CreationDate      = creationDate;
     ProvisioningState = provisioningState;
     Status            = status;
     AdminUserEnabled  = adminUserEnabled;
     StorageAccount    = storageAccount;
     NetworkRuleSet    = networkRuleSet;
     CustomInit();
 }