/// <summary>
 /// Initializes a new instance of the BatchAccountUpdateParameters
 /// class.
 /// </summary>
 /// <param name="tags">The user-specified tags associated with the
 /// account.</param>
 /// <param name="autoStorage">The properties related to the
 /// auto-storage account.</param>
 /// <param name="encryption">The encryption configuration for the Batch
 /// account.</param>
 public BatchAccountUpdateParameters(IDictionary <string, string> tags = default(IDictionary <string, string>), AutoStorageBaseProperties autoStorage = default(AutoStorageBaseProperties), EncryptionProperties encryption = default(EncryptionProperties))
 {
     Tags        = tags;
     AutoStorage = autoStorage;
     Encryption  = encryption;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the BatchAccountUpdateParameters
 /// class.
 /// </summary>
 /// <param name="tags">The user-specified tags associated with the
 /// account.</param>
 /// <param name="autoStorage">The properties related to the
 /// auto-storage account.</param>
 /// <param name="encryption">The encryption configuration for the Batch
 /// account.</param>
 /// <param name="allowedAuthenticationModes">List of allowed
 /// authentication modes for the Batch account that can be used to
 /// authenticate with the data plane. This does not affect
 /// authentication with the control plane.</param>
 /// <param name="identity">The identity of the Batch account.</param>
 public BatchAccountUpdateParameters(IDictionary <string, string> tags = default(IDictionary <string, string>), AutoStorageBaseProperties autoStorage = default(AutoStorageBaseProperties), EncryptionProperties encryption = default(EncryptionProperties), IList <AuthenticationMode?> allowedAuthenticationModes = default(IList <AuthenticationMode?>), BatchAccountIdentity identity = default(BatchAccountIdentity))
 {
     Tags        = tags;
     AutoStorage = autoStorage;
     Encryption  = encryption;
     AllowedAuthenticationModes = allowedAuthenticationModes;
     Identity = identity;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the BatchAccountCreateParameters
 /// class.
 /// </summary>
 /// <param name="location">The region in which to create the
 /// account.</param>
 /// <param name="tags">The user-specified tags associated with the
 /// account.</param>
 /// <param name="autoStorage">The properties related to the
 /// auto-storage account.</param>
 /// <param name="poolAllocationMode">The allocation mode to use for
 /// creating pools in the Batch account.</param>
 /// <param name="keyVaultReference">A reference to the Azure key vault
 /// associated with the Batch account.</param>
 /// <param name="publicNetworkAccess">The network access type for
 /// accessing Azure Batch account.</param>
 /// <param name="encryption">The encryption configuration for the Batch
 /// account.</param>
 public BatchAccountCreateParameters(string location, IDictionary <string, string> tags = default(IDictionary <string, string>), AutoStorageBaseProperties autoStorage = default(AutoStorageBaseProperties), PoolAllocationMode?poolAllocationMode = default(PoolAllocationMode?), KeyVaultReference keyVaultReference = default(KeyVaultReference), PublicNetworkAccessType?publicNetworkAccess = default(PublicNetworkAccessType?), EncryptionProperties encryption = default(EncryptionProperties))
 {
     Location            = location;
     Tags                = tags;
     AutoStorage         = autoStorage;
     PoolAllocationMode  = poolAllocationMode;
     KeyVaultReference   = keyVaultReference;
     PublicNetworkAccess = publicNetworkAccess;
     Encryption          = encryption;
     CustomInit();
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the BatchAccount class.
 /// </summary>
 /// <param name="id">The ID of the resource.</param>
 /// <param name="name">The name of the resource.</param>
 /// <param name="type">The type of the resource.</param>
 /// <param name="location">The location of the resource.</param>
 /// <param name="tags">The tags of the resource.</param>
 /// <param name="accountEndpoint">The account endpoint used to interact
 /// with the Batch service.</param>
 /// <param name="provisioningState">The provisioned state of the
 /// resource. Possible values include: 'Invalid', 'Creating',
 /// 'Deleting', 'Succeeded', 'Failed', 'Cancelled'</param>
 /// <param name="poolAllocationMode">The allocation mode to use for
 /// creating pools in the Batch account.</param>
 /// <param name="keyVaultReference">A reference to the Azure key vault
 /// associated with the Batch account.</param>
 /// <param name="publicNetworkAccess">The network interface type for
 /// accessing Azure Batch service and Batch account operations.</param>
 /// <param name="autoStorage">The properties and status of any
 /// auto-storage account associated with the Batch account.</param>
 /// <param name="encryption">The encryption configuration for the Batch
 /// account.</param>
 /// <param name="dedicatedCoreQuota">The dedicated core quota for the
 /// Batch account.</param>
 /// <param name="lowPriorityCoreQuota">The low-priority core quota for
 /// the Batch account.</param>
 /// <param name="dedicatedCoreQuotaPerVMFamily">A list of the dedicated
 /// core quota per Virtual Machine family for the Batch account. For
 /// accounts with PoolAllocationMode set to UserSubscription, quota is
 /// managed on the subscription so this value is not returned.</param>
 /// <param name="dedicatedCoreQuotaPerVMFamilyEnforced">A value
 /// indicating whether the core quota for the Batch Account is enforced
 /// per Virtual Machine family or not.</param>
 /// <param name="poolQuota">The pool quota for the Batch
 /// account.</param>
 /// <param name="activeJobAndJobScheduleQuota">The active job and job
 /// schedule quota for the Batch account.</param>
 public BatchAccount(string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string accountEndpoint = default(string), ProvisioningState provisioningState = default(ProvisioningState), PoolAllocationMode?poolAllocationMode = default(PoolAllocationMode?), KeyVaultReference keyVaultReference = default(KeyVaultReference), PublicNetworkAccessType?publicNetworkAccess = default(PublicNetworkAccessType?), AutoStorageProperties autoStorage = default(AutoStorageProperties), EncryptionProperties encryption = default(EncryptionProperties), int?dedicatedCoreQuota = default(int?), int?lowPriorityCoreQuota = default(int?), IList <VirtualMachineFamilyCoreQuota> dedicatedCoreQuotaPerVMFamily = default(IList <VirtualMachineFamilyCoreQuota>), bool dedicatedCoreQuotaPerVMFamilyEnforced = default(bool), int poolQuota = default(int), int activeJobAndJobScheduleQuota = default(int))
     : base(id, name, type, location, tags)
 {
     AccountEndpoint                       = accountEndpoint;
     ProvisioningState                     = provisioningState;
     PoolAllocationMode                    = poolAllocationMode;
     KeyVaultReference                     = keyVaultReference;
     PublicNetworkAccess                   = publicNetworkAccess;
     AutoStorage                           = autoStorage;
     Encryption                            = encryption;
     DedicatedCoreQuota                    = dedicatedCoreQuota;
     LowPriorityCoreQuota                  = lowPriorityCoreQuota;
     DedicatedCoreQuotaPerVMFamily         = dedicatedCoreQuotaPerVMFamily;
     DedicatedCoreQuotaPerVMFamilyEnforced = dedicatedCoreQuotaPerVMFamilyEnforced;
     PoolQuota = poolQuota;
     ActiveJobAndJobScheduleQuota = activeJobAndJobScheduleQuota;
     CustomInit();
 }