ArmDesktopVirtualizationModelFactory.ScalingPlanData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of ScalingPlanData.
public static Azure.ResourceManager.DesktopVirtualization.ScalingPlanData ScalingPlanData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string objectId = default, string description = default, string friendlyName = default, string timeZone = default, Azure.ResourceManager.DesktopVirtualization.Models.ScalingHostPoolType? scalingHostPoolType = default, string exclusionTag = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.ScalingSchedule> schedules = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DesktopVirtualization.Models.ScalingHostPoolReference> hostPoolReferences = default, Azure.Core.ResourceIdentifier managedBy = default, string kind = default, Azure.ETag? etag = default, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationSku sku = default, Azure.ResourceManager.Models.ArmPlan plan = default);
static member ScalingPlanData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * string * Nullable<Azure.ResourceManager.DesktopVirtualization.Models.ScalingHostPoolType> * string * seq<Azure.ResourceManager.DesktopVirtualization.Models.ScalingSchedule> * seq<Azure.ResourceManager.DesktopVirtualization.Models.ScalingHostPoolReference> * Azure.Core.ResourceIdentifier * string * Nullable<Azure.ETag> * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.DesktopVirtualization.Models.DesktopVirtualizationSku * Azure.ResourceManager.Models.ArmPlan -> Azure.ResourceManager.DesktopVirtualization.ScalingPlanData
Public Shared Function ScalingPlanData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional objectId As String = Nothing, Optional description As String = Nothing, Optional friendlyName As String = Nothing, Optional timeZone As String = Nothing, Optional scalingHostPoolType As Nullable(Of ScalingHostPoolType) = Nothing, Optional exclusionTag As String = Nothing, Optional schedules As IEnumerable(Of ScalingSchedule) = Nothing, Optional hostPoolReferences As IEnumerable(Of ScalingHostPoolReference) = Nothing, Optional managedBy As ResourceIdentifier = Nothing, Optional kind As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional identity As ManagedServiceIdentity = Nothing, Optional sku As DesktopVirtualizationSku = Nothing, Optional plan As ArmPlan = Nothing) As ScalingPlanData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- tags
- IDictionary<String,String>
The tags.
- location
- AzureLocation
The location.
- objectId
- String
ObjectId of scaling plan. (internal use).
- description
- String
Description of scaling plan.
- friendlyName
- String
User friendly name of scaling plan.
- timeZone
- String
Timezone of the scaling plan.
- scalingHostPoolType
- Nullable<ScalingHostPoolType>
HostPool type for desktop.
- exclusionTag
- String
Exclusion tag for scaling plan.
- schedules
- IEnumerable<ScalingSchedule>
List of ScalingPlanPooledSchedule definitions.
- hostPoolReferences
- IEnumerable<ScalingHostPoolReference>
List of ScalingHostPoolReference definitions.
- managedBy
- ResourceIdentifier
The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.
- kind
- String
Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.
The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.
- identity
- ManagedServiceIdentity
Gets or sets the identity. Current supported identity types: SystemAssigned.
The resource model definition representing SKU.
- plan
- ArmPlan
Gets or sets the plan.
Returns
A new ScalingPlanData instance for mocking.
Applies to
Azure SDK for .NET