你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmExtendedLocationsModelFactory.CustomLocationEnabledResourceType Method

Definition

Initializes a new instance of CustomLocationEnabledResourceType.

public static Azure.ResourceManager.ExtendedLocations.Models.CustomLocationEnabledResourceType CustomLocationEnabledResourceType (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.Core.ResourceIdentifier clusterExtensionId = default, string extensionType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ExtendedLocations.Models.CustomLocationEnabledResourceTypeMetadata> typesMetadata = default);
static member CustomLocationEnabledResourceType : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Azure.Core.ResourceIdentifier * string * seq<Azure.ResourceManager.ExtendedLocations.Models.CustomLocationEnabledResourceTypeMetadata> -> Azure.ResourceManager.ExtendedLocations.Models.CustomLocationEnabledResourceType
Public Shared Function CustomLocationEnabledResourceType (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional clusterExtensionId As ResourceIdentifier = Nothing, Optional extensionType As String = Nothing, Optional typesMetadata As IEnumerable(Of CustomLocationEnabledResourceTypeMetadata) = Nothing) As CustomLocationEnabledResourceType

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

clusterExtensionId
ResourceIdentifier

Cluster Extension ID.

extensionType
String

Cluster Extension Type.

typesMetadata
IEnumerable<CustomLocationEnabledResourceTypeMetadata>

Metadata of the Resource Type.

Returns

A new CustomLocationEnabledResourceType instance for mocking.

Applies to