Ejemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the ManagedHostingEnvironment class.
 /// </summary>
 public ManagedHostingEnvironment(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string managedHostingEnvironmentName = default(string), string managedHostingEnvironmentLocation = default(string), ManagedHostingEnvironmentStatus?status = default(ManagedHostingEnvironmentStatus?), VirtualNetworkProfile virtualNetwork = default(VirtualNetworkProfile), int?ipsslAddressCount = default(int?), string dnsSuffix = default(string), string subscriptionId = default(string), string resourceGroup = default(string), bool?environmentIsHealthy = default(bool?), string environmentStatus = default(string), bool?suspended = default(bool?), string apiManagementAccount = default(string))
     : base(location, id, name, type, tags)
 {
     ManagedHostingEnvironmentName     = managedHostingEnvironmentName;
     ManagedHostingEnvironmentLocation = managedHostingEnvironmentLocation;
     Status               = status;
     VirtualNetwork       = virtualNetwork;
     IpsslAddressCount    = ipsslAddressCount;
     DnsSuffix            = dnsSuffix;
     SubscriptionId       = subscriptionId;
     ResourceGroup        = resourceGroup;
     EnvironmentIsHealthy = environmentIsHealthy;
     EnvironmentStatus    = environmentStatus;
     Suspended            = suspended;
     ApiManagementAccount = apiManagementAccount;
 }
 /// <summary>
 /// Initializes a new instance of the
 /// AppServiceEnvironmentPatchResource class.
 /// </summary>
 /// <param name="appServiceEnvironmentPatchResourceName">Name of the
 /// App Service Environment.</param>
 /// <param name="location">Location of the App Service Environment,
 /// e.g. "West US".</param>
 /// <param name="virtualNetwork">Description of the Virtual
 /// Network.</param>
 /// <param name="workerPools">Description of worker pools with worker
 /// size IDs, VM sizes, and number of workers in each pool.</param>
 /// <param name="id">Resource Id.</param>
 /// <param name="name">Resource Name.</param>
 /// <param name="kind">Kind of resource.</param>
 /// <param name="type">Resource type.</param>
 /// <param name="provisioningState">Provisioning state of the App
 /// Service Environment. Possible values include: 'Succeeded',
 /// 'Failed', 'Canceled', 'InProgress', 'Deleting'</param>
 /// <param name="status">Current status of the App Service Environment.
 /// Possible values include: 'Preparing', 'Ready', 'Scaling',
 /// 'Deleting'</param>
 /// <param name="vnetName">Name of the Virtual Network for the App
 /// Service Environment.</param>
 /// <param name="vnetResourceGroupName">Resource group of the Virtual
 /// Network.</param>
 /// <param name="vnetSubnetName">Subnet of the Virtual Network.</param>
 /// <param name="internalLoadBalancingMode">Specifies which endpoints
 /// to serve internally in the Virtual Network for the App Service
 /// Environment. Possible values include: 'None', 'Web', 'Publishing',
 /// 'Web,Publishing'</param>
 /// <param name="multiSize">Front-end VM size, e.g. "Medium",
 /// "Large".</param>
 /// <param name="multiRoleCount">Number of front-end instances.</param>
 /// <param name="ipsslAddressCount">Number of IP SSL addresses reserved
 /// for the App Service Environment.</param>
 /// <param name="databaseEdition">Edition of the metadata database for
 /// the App Service Environment, e.g. "Standard".</param>
 /// <param name="databaseServiceObjective">Service objective of the
 /// metadata database for the App Service Environment, e.g.
 /// "S0".</param>
 /// <param name="upgradeDomains">Number of upgrade domains of the App
 /// Service Environment.</param>
 /// <param name="subscriptionId">Subscription of the App Service
 /// Environment.</param>
 /// <param name="dnsSuffix">DNS suffix of the App Service
 /// Environment.</param>
 /// <param name="lastAction">Last deployment action on the App Service
 /// Environment.</param>
 /// <param name="lastActionResult">Result of the last deployment action
 /// on the App Service Environment.</param>
 /// <param name="allowedMultiSizes">List of comma separated strings
 /// describing which VM sizes are allowed for front-ends.</param>
 /// <param name="allowedWorkerSizes">List of comma separated strings
 /// describing which VM sizes are allowed for workers.</param>
 /// <param name="maximumNumberOfMachines">Maximum number of VMs in the
 /// App Service Environment.</param>
 /// <param name="vipMappings">Description of IP SSL mapping for the App
 /// Service Environment.</param>
 /// <param name="environmentCapacities">Current total, used, and
 /// available worker capacities.</param>
 /// <param name="networkAccessControlList">Access control list for
 /// controlling traffic to the App Service Environment.</param>
 /// <param name="environmentIsHealthy">True/false indicating whether
 /// the App Service Environment is healthy.</param>
 /// <param name="environmentStatus">Detailed message about with results
 /// of the last check of the App Service Environment.</param>
 /// <param name="resourceGroup">Resource group of the App Service
 /// Environment.</param>
 /// <param name="frontEndScaleFactor">Scale factor for
 /// front-ends.</param>
 /// <param name="defaultFrontEndScaleFactor">Default Scale Factor for
 /// FrontEnds.</param>
 /// <param name="apiManagementAccountId">API Management Account
 /// associated with the App Service Environment.</param>
 /// <param name="suspended">&lt;code&gt;true&lt;/code&gt; if the App
 /// Service Environment is suspended; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;. The environment can be suspended,
 /// e.g. when the management endpoint is no longer available
 /// (most likely because NSG blocked the incoming traffic).</param>
 /// <param name="dynamicCacheEnabled">True/false indicating whether the
 /// App Service Environment is suspended. The environment can be
 /// suspended e.g. when the management endpoint is no longer available
 /// (most likely because NSG blocked the incoming traffic).</param>
 /// <param name="clusterSettings">Custom settings for changing the
 /// behavior of the App Service Environment.</param>
 /// <param name="userWhitelistedIpRanges">User added ip ranges to
 /// whitelist on ASE db</param>
 /// <param name="hasLinuxWorkers">Flag that displays whether an ASE has
 /// linux workers or not</param>
 /// <param name="sslCertKeyVaultId">Key Vault ID for ILB App Service
 /// Environment default SSL certificate</param>
 /// <param name="sslCertKeyVaultSecretName">Key Vault Secret Name for
 /// ILB App Service Environment default SSL certificate</param>
 public AppServiceEnvironmentPatchResource(string appServiceEnvironmentPatchResourceName, string location, VirtualNetworkProfile virtualNetwork, IList <WorkerPool> workerPools, string id = default(string), string name = default(string), string kind = default(string), string type = default(string), ProvisioningState?provisioningState = default(ProvisioningState?), HostingEnvironmentStatus?status = default(HostingEnvironmentStatus?), string vnetName = default(string), string vnetResourceGroupName = default(string), string vnetSubnetName = default(string), string internalLoadBalancingMode = default(string), string multiSize = default(string), int?multiRoleCount = default(int?), int?ipsslAddressCount = default(int?), string databaseEdition = default(string), string databaseServiceObjective = default(string), int?upgradeDomains = default(int?), string subscriptionId = default(string), string dnsSuffix = default(string), string lastAction = default(string), string lastActionResult = default(string), string allowedMultiSizes = default(string), string allowedWorkerSizes = default(string), int?maximumNumberOfMachines = default(int?), IList <VirtualIPMapping> vipMappings = default(IList <VirtualIPMapping>), IList <StampCapacity> environmentCapacities = default(IList <StampCapacity>), IList <NetworkAccessControlEntry> networkAccessControlList = default(IList <NetworkAccessControlEntry>), bool?environmentIsHealthy = default(bool?), string environmentStatus = default(string), string resourceGroup = default(string), int?frontEndScaleFactor = default(int?), int?defaultFrontEndScaleFactor = default(int?), string apiManagementAccountId = default(string), bool?suspended = default(bool?), bool?dynamicCacheEnabled = default(bool?), IList <NameValuePair> clusterSettings = default(IList <NameValuePair>), IList <string> userWhitelistedIpRanges = default(IList <string>), bool?hasLinuxWorkers = default(bool?), string sslCertKeyVaultId = default(string), string sslCertKeyVaultSecretName = default(string))
     : base(id, name, kind, type)
 {
     AppServiceEnvironmentPatchResourceName = appServiceEnvironmentPatchResourceName;
     Location                   = location;
     ProvisioningState          = provisioningState;
     Status                     = status;
     VnetName                   = vnetName;
     VnetResourceGroupName      = vnetResourceGroupName;
     VnetSubnetName             = vnetSubnetName;
     VirtualNetwork             = virtualNetwork;
     InternalLoadBalancingMode  = internalLoadBalancingMode;
     MultiSize                  = multiSize;
     MultiRoleCount             = multiRoleCount;
     WorkerPools                = workerPools;
     IpsslAddressCount          = ipsslAddressCount;
     DatabaseEdition            = databaseEdition;
     DatabaseServiceObjective   = databaseServiceObjective;
     UpgradeDomains             = upgradeDomains;
     SubscriptionId             = subscriptionId;
     DnsSuffix                  = dnsSuffix;
     LastAction                 = lastAction;
     LastActionResult           = lastActionResult;
     AllowedMultiSizes          = allowedMultiSizes;
     AllowedWorkerSizes         = allowedWorkerSizes;
     MaximumNumberOfMachines    = maximumNumberOfMachines;
     VipMappings                = vipMappings;
     EnvironmentCapacities      = environmentCapacities;
     NetworkAccessControlList   = networkAccessControlList;
     EnvironmentIsHealthy       = environmentIsHealthy;
     EnvironmentStatus          = environmentStatus;
     ResourceGroup              = resourceGroup;
     FrontEndScaleFactor        = frontEndScaleFactor;
     DefaultFrontEndScaleFactor = defaultFrontEndScaleFactor;
     ApiManagementAccountId     = apiManagementAccountId;
     Suspended                  = suspended;
     DynamicCacheEnabled        = dynamicCacheEnabled;
     ClusterSettings            = clusterSettings;
     UserWhitelistedIpRanges    = userWhitelistedIpRanges;
     HasLinuxWorkers            = hasLinuxWorkers;
     SslCertKeyVaultId          = sslCertKeyVaultId;
     SslCertKeyVaultSecretName  = sslCertKeyVaultSecretName;
     CustomInit();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the AppServiceEnvironment class.
 /// </summary>
 /// <param name="virtualNetwork">Description of the Virtual
 /// Network.</param>
 /// <param name="provisioningState">Provisioning state of the App
 /// Service Environment. Possible values include: 'Succeeded',
 /// 'Failed', 'Canceled', 'InProgress', 'Deleting'</param>
 /// <param name="status">Current status of the App Service Environment.
 /// Possible values include: 'Preparing', 'Ready', 'Scaling',
 /// 'Deleting'</param>
 /// <param name="internalLoadBalancingMode">Specifies which endpoints
 /// to serve internally in the Virtual Network for the App Service
 /// Environment. Possible values include: 'None', 'Web', 'Publishing',
 /// 'Web, Publishing'</param>
 /// <param name="multiSize">Front-end VM size, e.g. "Medium",
 /// "Large".</param>
 /// <param name="multiRoleCount">Number of front-end instances.</param>
 /// <param name="ipsslAddressCount">Number of IP SSL addresses reserved
 /// for the App Service Environment.</param>
 /// <param name="dnsSuffix">DNS suffix of the App Service
 /// Environment.</param>
 /// <param name="maximumNumberOfMachines">Maximum number of VMs in the
 /// App Service Environment.</param>
 /// <param name="frontEndScaleFactor">Scale factor for
 /// front-ends.</param>
 /// <param name="suspended">&lt;code&gt;true&lt;/code&gt; if the App
 /// Service Environment is suspended; otherwise,
 /// &lt;code&gt;false&lt;/code&gt;. The environment can be suspended,
 /// e.g. when the management endpoint is no longer available
 /// (most likely because NSG blocked the incoming traffic).</param>
 /// <param name="clusterSettings">Custom settings for changing the
 /// behavior of the App Service Environment.</param>
 /// <param name="userWhitelistedIpRanges">User added ip ranges to
 /// whitelist on ASE db</param>
 /// <param name="hasLinuxWorkers">Flag that displays whether an ASE has
 /// linux workers or not</param>
 /// <param name="dedicatedHostCount">Dedicated Host Count</param>
 public AppServiceEnvironment(VirtualNetworkProfile virtualNetwork, ProvisioningState?provisioningState = default(ProvisioningState?), HostingEnvironmentStatus?status = default(HostingEnvironmentStatus?), string internalLoadBalancingMode = default(string), string multiSize = default(string), int?multiRoleCount = default(int?), int?ipsslAddressCount = default(int?), string dnsSuffix = default(string), int?maximumNumberOfMachines = default(int?), int?frontEndScaleFactor = default(int?), bool?suspended = default(bool?), IList <NameValuePair> clusterSettings = default(IList <NameValuePair>), IList <string> userWhitelistedIpRanges = default(IList <string>), bool?hasLinuxWorkers = default(bool?), int?dedicatedHostCount = default(int?))
 {
     ProvisioningState         = provisioningState;
     Status                    = status;
     VirtualNetwork            = virtualNetwork;
     InternalLoadBalancingMode = internalLoadBalancingMode;
     MultiSize                 = multiSize;
     MultiRoleCount            = multiRoleCount;
     IpsslAddressCount         = ipsslAddressCount;
     DnsSuffix                 = dnsSuffix;
     MaximumNumberOfMachines   = maximumNumberOfMachines;
     FrontEndScaleFactor       = frontEndScaleFactor;
     Suspended                 = suspended;
     ClusterSettings           = clusterSettings;
     UserWhitelistedIpRanges   = userWhitelistedIpRanges;
     HasLinuxWorkers           = hasLinuxWorkers;
     DedicatedHostCount        = dedicatedHostCount;
     CustomInit();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the HostingEnvironment class.
 /// </summary>
 public HostingEnvironment(string location, string id = default(string), string name = default(string), string type = default(string), IDictionary <string, string> tags = default(IDictionary <string, string>), string hostingEnvironmentName = default(string), string hostingEnvironmentLocation = default(string), ProvisioningState?provisioningState = default(ProvisioningState?), HostingEnvironmentStatus?status = default(HostingEnvironmentStatus?), string vnetName = default(string), string vnetResourceGroupName = default(string), string vnetSubnetName = default(string), VirtualNetworkProfile virtualNetwork = default(VirtualNetworkProfile), InternalLoadBalancingMode?internalLoadBalancingMode = default(InternalLoadBalancingMode?), string multiSize = default(string), int?multiRoleCount = default(int?), IList <WorkerPool> workerPools = default(IList <WorkerPool>), int?ipsslAddressCount = default(int?), string databaseEdition = default(string), string databaseServiceObjective = default(string), int?upgradeDomains = default(int?), string subscriptionId = default(string), string dnsSuffix = default(string), string lastAction = default(string), string lastActionResult = default(string), string allowedMultiSizes = default(string), string allowedWorkerSizes = default(string), int?maximumNumberOfMachines = default(int?), IList <VirtualIPMapping> vipMappings = default(IList <VirtualIPMapping>), IList <StampCapacity> environmentCapacities = default(IList <StampCapacity>), IList <NetworkAccessControlEntry> networkAccessControlList = default(IList <NetworkAccessControlEntry>), bool?environmentIsHealthy = default(bool?), string environmentStatus = default(string), string resourceGroup = default(string), string apiManagementAccountId = default(string), bool?suspended = default(bool?), IList <NameValuePair> clusterSettings = default(IList <NameValuePair>))
     : base(location, id, name, type, tags)
 {
     HostingEnvironmentName     = hostingEnvironmentName;
     HostingEnvironmentLocation = hostingEnvironmentLocation;
     ProvisioningState          = provisioningState;
     Status   = status;
     VnetName = vnetName;
     VnetResourceGroupName     = vnetResourceGroupName;
     VnetSubnetName            = vnetSubnetName;
     VirtualNetwork            = virtualNetwork;
     InternalLoadBalancingMode = internalLoadBalancingMode;
     MultiSize                = multiSize;
     MultiRoleCount           = multiRoleCount;
     WorkerPools              = workerPools;
     IpsslAddressCount        = ipsslAddressCount;
     DatabaseEdition          = databaseEdition;
     DatabaseServiceObjective = databaseServiceObjective;
     UpgradeDomains           = upgradeDomains;
     SubscriptionId           = subscriptionId;
     DnsSuffix                = dnsSuffix;
     LastAction               = lastAction;
     LastActionResult         = lastActionResult;
     AllowedMultiSizes        = allowedMultiSizes;
     AllowedWorkerSizes       = allowedWorkerSizes;
     MaximumNumberOfMachines  = maximumNumberOfMachines;
     VipMappings              = vipMappings;
     EnvironmentCapacities    = environmentCapacities;
     NetworkAccessControlList = networkAccessControlList;
     EnvironmentIsHealthy     = environmentIsHealthy;
     EnvironmentStatus        = environmentStatus;
     ResourceGroup            = resourceGroup;
     ApiManagementAccountId   = apiManagementAccountId;
     Suspended                = suspended;
     ClusterSettings          = clusterSettings;
 }