Example #1
0
 /// <summary>
 /// Initializes a new instance of the PrivateCloud class.
 /// </summary>
 /// <param name="sku">The private cloud SKU</param>
 /// <param name="networkBlock">The block of addresses should be unique
 /// across VNet in your subscription as well as on-premise. Make sure
 /// the CIDR format is conformed to (A.B.C.D/X) where A,B,C,D are
 /// between 0 and 255, and X is between 0 and 22</param>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="location">Resource location</param>
 /// <param name="tags">Resource tags</param>
 /// <param name="managementCluster">The default cluster used for
 /// management</param>
 /// <param name="internet">Connectivity to internet is enabled or
 /// disabled. Possible values include: 'Enabled', 'Disabled'</param>
 /// <param name="identitySources">vCenter Single Sign On Identity
 /// Sources</param>
 /// <param name="availability">Properties describing how the cloud is
 /// distributed across availability zones</param>
 /// <param name="encryption">Customer managed key encryption, can be
 /// enabled or disabled</param>
 /// <param name="provisioningState">The provisioning state. Possible
 /// values include: 'Succeeded', 'Failed', 'Cancelled', 'Pending',
 /// 'Building', 'Deleting', 'Updating'</param>
 /// <param name="circuit">An ExpressRoute Circuit</param>
 /// <param name="endpoints">The endpoints</param>
 /// <param name="managementNetwork">Network used to access vCenter
 /// Server and NSX-T Manager</param>
 /// <param name="provisioningNetwork">Used for virtual machine cold
 /// migration, cloning, and snapshot migration</param>
 /// <param name="vmotionNetwork">Used for live migration of virtual
 /// machines</param>
 /// <param name="vcenterPassword">Optionally, set the vCenter admin
 /// password when the private cloud is created</param>
 /// <param name="nsxtPassword">Optionally, set the NSX-T Manager
 /// password when the private cloud is created</param>
 /// <param name="vcenterCertificateThumbprint">Thumbprint of the
 /// vCenter Server SSL certificate</param>
 /// <param name="nsxtCertificateThumbprint">Thumbprint of the NSX-T
 /// Manager SSL certificate</param>
 /// <param name="externalCloudLinks">Array of cloud link IDs from other
 /// clouds that connect to this one</param>
 /// <param name="secondaryCircuit">A secondary expressRoute circuit
 /// from a separate AZ. Only present in a stretched private
 /// cloud</param>
 /// <param name="identity">The identity of the private cloud, if
 /// configured.</param>
 public PrivateCloud(Sku sku, string networkBlock, string id = default(string), string name = default(string), string type = default(string), string location = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), ManagementCluster managementCluster = default(ManagementCluster), string internet = default(string), IList <IdentitySource> identitySources = default(IList <IdentitySource>), AvailabilityProperties availability = default(AvailabilityProperties), Encryption encryption = default(Encryption), string provisioningState = default(string), Circuit circuit = default(Circuit), Endpoints endpoints = default(Endpoints), string managementNetwork = default(string), string provisioningNetwork = default(string), string vmotionNetwork = default(string), string vcenterPassword = default(string), string nsxtPassword = default(string), string vcenterCertificateThumbprint = default(string), string nsxtCertificateThumbprint = default(string), IList <string> externalCloudLinks = default(IList <string>), Circuit secondaryCircuit = default(Circuit), PrivateCloudIdentity identity = default(PrivateCloudIdentity))
     : base(id, name, type, location, tags)
 {
     Sku = sku;
     ManagementCluster            = managementCluster;
     Internet                     = internet;
     IdentitySources              = identitySources;
     Availability                 = availability;
     Encryption                   = encryption;
     ProvisioningState            = provisioningState;
     Circuit                      = circuit;
     Endpoints                    = endpoints;
     NetworkBlock                 = networkBlock;
     ManagementNetwork            = managementNetwork;
     ProvisioningNetwork          = provisioningNetwork;
     VmotionNetwork               = vmotionNetwork;
     VcenterPassword              = vcenterPassword;
     NsxtPassword                 = nsxtPassword;
     VcenterCertificateThumbprint = vcenterCertificateThumbprint;
     NsxtCertificateThumbprint    = nsxtCertificateThumbprint;
     ExternalCloudLinks           = externalCloudLinks;
     SecondaryCircuit             = secondaryCircuit;
     Identity                     = identity;
     CustomInit();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the PrivateCloudUpdate class.
 /// </summary>
 /// <param name="tags">Resource tags</param>
 /// <param name="managementCluster">The default cluster used for
 /// management</param>
 /// <param name="internet">Connectivity to internet is enabled or
 /// disabled. Possible values include: 'Enabled', 'Disabled'</param>
 /// <param name="identitySources">vCenter Single Sign On Identity
 /// Sources</param>
 /// <param name="availability">Properties describing how the cloud is
 /// distributed across availability zones</param>
 /// <param name="encryption">Customer managed key encryption, can be
 /// enabled or disabled</param>
 /// <param name="identity">The identity of the private cloud, if
 /// configured.</param>
 public PrivateCloudUpdate(IDictionary <string, string> tags = default(IDictionary <string, string>), ManagementCluster managementCluster = default(ManagementCluster), string internet = default(string), IList <IdentitySource> identitySources = default(IList <IdentitySource>), AvailabilityProperties availability = default(AvailabilityProperties), Encryption encryption = default(Encryption), PrivateCloudIdentity identity = default(PrivateCloudIdentity))
 {
     Tags = tags;
     ManagementCluster = managementCluster;
     Internet          = internet;
     IdentitySources   = identitySources;
     Availability      = availability;
     Encryption        = encryption;
     Identity          = identity;
     CustomInit();
 }