Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the StorageTargetProperties class.
 /// </summary>
 /// <param name="junctions">List of Cache namespace junctions to target
 /// for namespace associations.</param>
 /// <param name="targetType">Type of the Storage Target.</param>
 /// <param name="provisioningState">ARM provisioning state, see
 /// https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.
 /// Possible values include: 'Succeeded', 'Failed', 'Cancelled',
 /// 'Creating', 'Deleting', 'Updating'</param>
 /// <param name="nfs3">Properties when targetType is nfs3.</param>
 /// <param name="clfs">Properties when targetType is clfs.</param>
 /// <param name="unknown">Properties when targetType is
 /// unknown.</param>
 public StorageTargetProperties(IList <NamespaceJunction> junctions = default(IList <NamespaceJunction>), string targetType = default(string), string provisioningState = default(string), Nfs3Target nfs3 = default(Nfs3Target), ClfsTarget clfs = default(ClfsTarget), UnknownTarget unknown = default(UnknownTarget))
 {
     Junctions         = junctions;
     TargetType        = targetType;
     ProvisioningState = provisioningState;
     Nfs3    = nfs3;
     Clfs    = clfs;
     Unknown = unknown;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the StorageTarget class.
 /// </summary>
 /// <param name="targetType">Type of the Storage Target. Possible
 /// values include: 'nfs3', 'clfs', 'unknown', 'blobNfs'</param>
 /// <param name="name">Name of the Storage Target.</param>
 /// <param name="id">Resource ID of the Storage Target.</param>
 /// <param name="type">Type of the Storage Target;
 /// Microsoft.StorageCache/Cache/StorageTarget</param>
 /// <param name="location">Region name string.</param>
 /// <param name="systemData">The system meta data relating to this
 /// resource.</param>
 /// <param name="junctions">List of Cache namespace junctions to target
 /// for namespace associations.</param>
 /// <param name="provisioningState">ARM provisioning state, see
 /// https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.
 /// Possible values include: 'Succeeded', 'Failed', 'Cancelled',
 /// 'Creating', 'Deleting', 'Updating'</param>
 /// <param name="nfs3">Properties when targetType is nfs3.</param>
 /// <param name="clfs">Properties when targetType is clfs.</param>
 /// <param name="unknown">Properties when targetType is
 /// unknown.</param>
 /// <param name="blobNfs">Properties when targetType is
 /// blobNfs.</param>
 public StorageTarget(string targetType, string name = default(string), string id = default(string), string type = default(string), string location = default(string), SystemData systemData = default(SystemData), IList <NamespaceJunction> junctions = default(IList <NamespaceJunction>), string provisioningState = default(string), Nfs3Target nfs3 = default(Nfs3Target), ClfsTarget clfs = default(ClfsTarget), UnknownTarget unknown = default(UnknownTarget), BlobNfsTarget blobNfs = default(BlobNfsTarget))
     : base(name, id, type, location, systemData)
 {
     Junctions         = junctions;
     TargetType        = targetType;
     ProvisioningState = provisioningState;
     Nfs3    = nfs3;
     Clfs    = clfs;
     Unknown = unknown;
     BlobNfs = blobNfs;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the UnknownTargetProperties class.
 /// </summary>
 /// <param name="junctions">List of Cache namespace junctions to target
 /// for namespace associations.</param>
 /// <param name="targetType">Type of the Storage Target.</param>
 /// <param name="provisioningState">ARM provisioning state, see
 /// https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/Addendum.md#provisioningstate-property.
 /// Possible values include: 'Succeeded', 'Failed', 'Cancelled',
 /// 'Creating', 'Deleting', 'Updating'</param>
 /// <param name="nfs3">Properties when targetType is nfs3.</param>
 /// <param name="clfs">Properties when targetType is clfs.</param>
 /// <param name="unknown">Properties when targetType is
 /// unknown.</param>
 public UnknownTargetProperties(IList <NamespaceJunction> junctions = default(IList <NamespaceJunction>), string targetType = default(string), string provisioningState = default(string), Nfs3Target nfs3 = default(Nfs3Target), ClfsTarget clfs = default(ClfsTarget), UnknownTarget unknown = default(UnknownTarget))
     : base(junctions, targetType, provisioningState, nfs3, clfs, unknown)
 {
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="PSHpcNfs3Target"/> class.
 /// </summary>
 /// <param name="nfs3Target">nfs3Target.</param>
 public PSHpcNfs3Target(StorageCacheModels.Nfs3Target nfs3Target)
 {
     this.Target     = nfs3Target.Target;
     this.UsageModel = nfs3Target.UsageModel;
 }