コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the AccountResource class.
 /// </summary>
 public AccountResource(int coreQuota, int poolQuota, int activeJobAndJobScheduleQuota, 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), AccountProvisioningState?provisioningState = default(AccountProvisioningState?), AutoStorageProperties autoStorage = default(AutoStorageProperties))
     : base(id, name, type, location, tags)
 {
     AccountEndpoint              = accountEndpoint;
     ProvisioningState            = provisioningState;
     AutoStorage                  = autoStorage;
     CoreQuota                    = coreQuota;
     PoolQuota                    = poolQuota;
     ActiveJobAndJobScheduleQuota = activeJobAndJobScheduleQuota;
 }
コード例 #2
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="autoStorage">The properties and status of any
 /// auto-storage account associated with the Batch account.</param>
 /// <param name="dedicatedCoreQuota">The dedicated core quota for this
 /// Batch account.</param>
 /// <param name="lowPriorityCoreQuota">The low-priority core quota for
 /// this Batch account.</param>
 /// <param name="poolQuota">The pool quota for this Batch
 /// account.</param>
 /// <param name="activeJobAndJobScheduleQuota">The active job and job
 /// schedule quota for this 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), AutoStorageProperties autoStorage = default(AutoStorageProperties), int dedicatedCoreQuota = default(int), int lowPriorityCoreQuota = default(int), int poolQuota = default(int), int activeJobAndJobScheduleQuota = default(int))
     : base(id, name, type, location, tags)
 {
     AccountEndpoint              = accountEndpoint;
     ProvisioningState            = provisioningState;
     PoolAllocationMode           = poolAllocationMode;
     KeyVaultReference            = keyVaultReference;
     AutoStorage                  = autoStorage;
     DedicatedCoreQuota           = dedicatedCoreQuota;
     LowPriorityCoreQuota         = lowPriorityCoreQuota;
     PoolQuota                    = poolQuota;
     ActiveJobAndJobScheduleQuota = activeJobAndJobScheduleQuota;
     CustomInit();
 }
コード例 #3
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();
 }