Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the DiskPool class.
 /// </summary>
 /// <param name="location">The geo-location where the resource
 /// lives.</param>
 /// <param name="diskPoolName">Sku name</param>
 /// <param name="provisioningState">State of the operation on the
 /// resource. Possible values include: 'Invalid', 'Succeeded',
 /// 'Failed', 'Canceled', 'Pending', 'Creating', 'Updating',
 /// 'Deleting'</param>
 /// <param name="availabilityZones">Logical zone for Disk Pool
 /// resource; example: ["1"].</param>
 /// <param name="status">Operational status of the Disk Pool. Possible
 /// values include: 'Invalid', 'Unknown', 'Healthy', 'Unhealthy',
 /// 'Updating', 'Running', 'Stopped', 'Stopped (deallocated)'</param>
 /// <param name="subnetId">Azure Resource ID of a Subnet for the Disk
 /// Pool.</param>
 /// <param name="id">Fully qualified resource Id for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="tags">Resource tags.</param>
 /// <param name="tier">Sku tier</param>
 /// <param name="disks">List of Azure Managed Disks to attach to a Disk
 /// Pool.</param>
 /// <param name="additionalCapabilities">List of additional
 /// capabilities for Disk Pool.</param>
 /// <param name="systemData">Resource metadata required by ARM
 /// RPC</param>
 public DiskPool(string location, string diskPoolName, string provisioningState, IList <string> availabilityZones, string status, string subnetId, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string tier = default(string), IList <Disk> disks = default(IList <Disk>), IList <string> additionalCapabilities = default(IList <string>), SystemMetadata systemData = default(SystemMetadata))
     : base(location, id, name, type, tags)
 {
     DiskPoolName           = diskPoolName;
     Tier                   = tier;
     ProvisioningState      = provisioningState;
     AvailabilityZones      = availabilityZones;
     Status                 = status;
     Disks                  = disks;
     SubnetId               = subnetId;
     AdditionalCapabilities = additionalCapabilities;
     SystemData             = systemData;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the IscsiTarget class.
 /// </summary>
 /// <param name="aclMode">Mode for Target connectivity. Possible values
 /// include: 'Dynamic', 'Static'</param>
 /// <param name="targetIqn">iSCSI Target IQN (iSCSI Qualified Name);
 /// example: "iqn.2005-03.org.iscsi:server".</param>
 /// <param name="provisioningState">State of the operation on the
 /// resource. Possible values include: 'Invalid', 'Succeeded',
 /// 'Failed', 'Canceled', 'Pending', 'Creating', 'Updating',
 /// 'Deleting'</param>
 /// <param name="status">Operational status of the iSCSI Target.
 /// Possible values include: 'Invalid', 'Unknown', 'Healthy',
 /// 'Unhealthy', 'Updating', 'Running', 'Stopped', 'Stopped
 /// (deallocated)'</param>
 /// <param name="id">Fully qualified resource Id for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. Ex-
 /// Microsoft.Compute/virtualMachines or
 /// Microsoft.Storage/storageAccounts.</param>
 /// <param name="staticAcls">Access Control List (ACL) for an iSCSI
 /// Target; defines LUN masking policy</param>
 /// <param name="luns">List of LUNs to be exposed through iSCSI
 /// Target.</param>
 /// <param name="endpoints">List of private IPv4 addresses to connect
 /// to the iSCSI Target.</param>
 /// <param name="port">The port used by iSCSI Target portal
 /// group.</param>
 /// <param name="systemData">Resource metadata required by ARM
 /// RPC</param>
 public IscsiTarget(string aclMode, string targetIqn, string provisioningState, string status, string id = default(string), string name = default(string), string type = default(string), IList <Acl> staticAcls = default(IList <Acl>), IList <IscsiLun> luns = default(IList <IscsiLun>), IList <string> endpoints = default(IList <string>), int?port = default(int?), SystemMetadata systemData = default(SystemMetadata))
     : base(id, name, type)
 {
     AclMode           = aclMode;
     StaticAcls        = staticAcls;
     Luns              = luns;
     TargetIqn         = targetIqn;
     ProvisioningState = provisioningState;
     Status            = status;
     Endpoints         = endpoints;
     Port              = port;
     SystemData        = systemData;
     CustomInit();
 }