Пример #1
0
 /// <summary>
 /// Initializes a new instance of the
 /// AutomationAccountCreateOrUpdateParameters class.
 /// </summary>
 /// <param name="sku">Gets or sets account SKU.</param>
 /// <param name="encryption">Set the encryption properties for the
 /// automation account</param>
 /// <param name="publicNetworkAccess">Indicates whether traffic on the
 /// non-ARM endpoint (Webhook/Agent) is allowed from the public
 /// internet</param>
 /// <param name="name">Gets or sets name of the resource.</param>
 /// <param name="location">Gets or sets the location of the
 /// resource.</param>
 /// <param name="identity">Sets the identity property for automation
 /// account</param>
 /// <param name="tags">Gets or sets the tags attached to the
 /// resource.</param>
 public AutomationAccountCreateOrUpdateParameters(Sku sku = default(Sku), EncryptionProperties encryption = default(EncryptionProperties), bool?publicNetworkAccess = default(bool?), string name = default(string), string location = default(string), Identity identity = default(Identity), IDictionary <string, string> tags = default(IDictionary <string, string>))
 {
     Sku                 = sku;
     Encryption          = encryption;
     PublicNetworkAccess = publicNetworkAccess;
     Name                = name;
     Location            = location;
     Identity            = identity;
     Tags                = tags;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the AutomationAccount class.
 /// </summary>
 /// <param name="id">Fully qualified resource Id for the
 /// resource</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="location">The Azure Region where the resource
 /// lives</param>
 /// <param name="sku">Gets or sets the SKU of account.</param>
 /// <param name="lastModifiedBy">Gets or sets the last modified
 /// by.</param>
 /// <param name="state">Gets status of account. Possible values
 /// include: 'Ok', 'Unavailable', 'Suspended'</param>
 /// <param name="creationTime">Gets the creation time.</param>
 /// <param name="lastModifiedTime">Gets the last modified time.</param>
 /// <param name="description">Gets or sets the description.</param>
 /// <param name="encryption">Encryption properties for the automation
 /// account</param>
 /// <param name="privateEndpointConnections">List of Automation
 /// operations supported by the Automation resource provider.</param>
 /// <param name="publicNetworkAccess">Indicates whether traffic on the
 /// non-ARM endpoint (Webhook/Agent) is allowed from the public
 /// internet</param>
 /// <param name="etag">Gets or sets the etag of the resource.</param>
 public AutomationAccount(string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string location = default(string), Sku sku = default(Sku), string lastModifiedBy = default(string), string state = default(string), System.DateTimeOffset creationTime = default(System.DateTimeOffset), System.DateTimeOffset lastModifiedTime = default(System.DateTimeOffset), string description = default(string), EncryptionProperties encryption = default(EncryptionProperties), IList <PrivateEndpointConnection> privateEndpointConnections = default(IList <PrivateEndpointConnection>), bool?publicNetworkAccess = default(bool?), string etag = default(string), Identity identity = default(Identity))
     : base(id, name, type, tags, location)
 {
     Sku                        = sku;
     LastModifiedBy             = lastModifiedBy;
     State                      = state;
     CreationTime               = creationTime;
     LastModifiedTime           = lastModifiedTime;
     Description                = description;
     Encryption                 = encryption;
     PrivateEndpointConnections = privateEndpointConnections;
     PublicNetworkAccess        = publicNetworkAccess;
     Etag                       = etag;
     Identity                   = identity;
     CustomInit();
 }