Share via


ArmExtendedLocationsModelFactory.CustomLocationData Method

Definition

Initializes a new instance of CustomLocationData.

public static Azure.ResourceManager.ExtendedLocations.CustomLocationData CustomLocationData (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, Azure.ResourceManager.Models.ManagedServiceIdentity identity = default, Azure.ResourceManager.ExtendedLocations.Models.CustomLocationAuthentication authentication = default, System.Collections.Generic.IEnumerable<Azure.Core.ResourceIdentifier> clusterExtensionIds = default, string displayName = default, Azure.Core.ResourceIdentifier hostResourceId = default, Azure.ResourceManager.ExtendedLocations.Models.CustomLocationHostType? hostType = default, string namespace = default, string provisioningState = default);
static member CustomLocationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Azure.ResourceManager.Models.ManagedServiceIdentity * Azure.ResourceManager.ExtendedLocations.Models.CustomLocationAuthentication * seq<Azure.Core.ResourceIdentifier> * string * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.ExtendedLocations.Models.CustomLocationHostType> * string * string -> Azure.ResourceManager.ExtendedLocations.CustomLocationData
Public Shared Function CustomLocationData (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 identity As ManagedServiceIdentity = Nothing, Optional authentication As CustomLocationAuthentication = Nothing, Optional clusterExtensionIds As IEnumerable(Of ResourceIdentifier) = Nothing, Optional displayName As String = Nothing, Optional hostResourceId As ResourceIdentifier = Nothing, Optional hostType As Nullable(Of CustomLocationHostType) = Nothing, Optional namespace As String = Nothing, Optional provisioningState As String = Nothing) As CustomLocationData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

identity
ManagedServiceIdentity

Identity for the resource. Current supported identity types: SystemAssigned, None.

authentication
CustomLocationAuthentication

This is optional input that contains the authentication that should be used to generate the namespace.

clusterExtensionIds
IEnumerable<ResourceIdentifier>

Contains the reference to the add-on that contains charts to deploy CRDs and operators.

displayName
String

Display name for the Custom Locations location.

hostResourceId
ResourceIdentifier

Connected Cluster or AKS Cluster. The Custom Locations RP will perform a checkAccess API for listAdminCredentials permissions.

hostType
Nullable<CustomLocationHostType>

Type of host the Custom Locations is referencing (Kubernetes, etc...).

namespace
String

Kubernetes namespace that will be created on the specified cluster.

provisioningState
String

Provisioning State for the Custom Location.

Returns

A new CustomLocationData instance for mocking.

Applies to