Microsoft.ExtendedLocation (preview:2021-08-31)

2025/09/26 • 14 new, 14 deleted methods

CustomLocations_ListOperations (new)
Description :  Lists all available Custom Locations operations.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.ExtendedLocation/operations
{
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
display:
{
description: string ,
operation: string ,
provider: string ,
resource: string ,
}
,
isDataAction: boolean ,
name: string ,
origin: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_ListBySubscription (new)
Description :  Gets a list of Custom Locations in the specified subscription. The operation returns properties of each Custom Location
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_ListByResourceGroup (new)
Description :  Gets a list of Custom Locations in the specified subscription and resource group. The operation returns properties of each Custom Location.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_Get (new)
Description :  Gets the details of the customLocation with a specified resource group and name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_CreateOrUpdate (new)
Description :  Creates or updates a Custom Location in the specified Subscription and Resource Group
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
parameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_Delete (new)
Description :  Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_Update (new)
Description :  Updates a Custom Location with the specified Resource Name in the specified Resource Group and Subscription.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
parameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_ListEnabledResourceTypes (new)
Description :  Gets the list of the Enabled Resource Types.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
clusterExtensionId: string ,
extensionType: string ,
typesMetadata:
[
{
apiVersion: string ,
resourceProviderNamespace: string ,
resourceType: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_FindTargetResourceGroup (new)
Description :  Returns the target resource group associated with the resource sync rules of the Custom Location that match the rules passed in with the Find Target Resource Group Request.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/findTargetResourceGroup
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
parameters:
{
labels: object ,
}
,
}

⚐ Response (200)

{
matchedResourceSyncRule: string ,
targetResourceGroup: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_ListByCustomLocationID (new)
Description :  Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties of each Resource Sync Rule
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_Get (new)
Description :  Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom Location resource name and Resource Sync Rule name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
childResourceName: string ,
}

⚐ Response (200)

{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_CreateOrUpdate (new)
Description :  Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource Group
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
childResourceName: string ,
parameters:
{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_Delete (new)
Description :  Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource Name, Resource Group, and Subscription Id.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
childResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_Update (new)
Description :  Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource Group, Subscription and Custom Location name.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
childResourceName: string ,
parameters:
{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_ListOperations (removed)
Description :  Lists all available Custom Locations operations.
Reference :  Link ¶

⚼ Request

GET:  /providers/Microsoft.ExtendedLocation/operations
{
api-version: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
display:
{
description: string ,
operation: string ,
provider: string ,
resource: string ,
}
,
isDataAction: boolean ,
name: string ,
origin: string ,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_ListBySubscription (removed)
Description :  Gets a list of Custom Locations in the specified subscription. The operation returns properties of each Custom Location
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.ExtendedLocation/customLocations
{
api-version: string ,
subscriptionId: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_ListByResourceGroup (removed)
Description :  Gets a list of Custom Locations in the specified subscription and resource group. The operation returns properties of each Custom Location.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_Get (removed)
Description :  Gets the details of the customLocation with a specified resource group and name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_CreateOrUpdate (removed)
Description :  Creates or updates a Custom Location in the specified Subscription and Resource Group
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
parameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_Delete (removed)
Description :  Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_Update (removed)
Description :  Updates a Custom Location with the specified Resource Name in the specified Resource Group and Subscription.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
parameters:
{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
properties:
{
authentication:
{
type: string ,
value: string ,
}
,
clusterExtensionIds:
[
string ,
]
,
displayName: string ,
hostResourceId: string ,
hostType: enum ,
namespace: string ,
provisioningState: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_ListEnabledResourceTypes (removed)
Description :  Gets the list of the Enabled Resource Types.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/enabledResourceTypes
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
clusterExtensionId: string ,
extensionType: string ,
typesMetadata:
[
{
apiVersion: string ,
resourceProviderNamespace: string ,
resourceType: string ,
}
,
]
,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CustomLocations_FindTargetResourceGroup (removed)
Description :  Returns the target resource group associated with the resource sync rules of the Custom Location that match the rules passed in with the Find Target Resource Group Request.
Reference :  Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/findTargetResourceGroup
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
parameters:
{
labels: object ,
}
,
}

⚐ Response (200)

{
matchedResourceSyncRule: string ,
targetResourceGroup: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_ListByCustomLocationID (removed)
Description :  Gets a list of Resource Sync Rules in the specified subscription. The operation returns properties of each Resource Sync Rule
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
}

⚐ Response (200)

{
nextLink: string ,
value:
[
{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_Get (removed)
Description :  Gets the details of the resourceSyncRule with a specified resource group, subscription id Custom Location resource name and Resource Sync Rule name.
Reference :  Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
childResourceName: string ,
}

⚐ Response (200)

{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_CreateOrUpdate (removed)
Description :  Creates or updates a Resource Sync Rule in the parent Custom Location, Subscription Id and Resource Group
Reference :  Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
childResourceName: string ,
parameters:
{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}
,
}

⚐ Response (200)

{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (201)

{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_Delete (removed)
Description :  Deletes the Resource Sync Rule with the specified Resource Sync Rule Name, Custom Location Resource Name, Resource Group, and Subscription Id.
Reference :  Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
childResourceName: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ResourceSyncRules_Update (removed)
Description :  Updates a Resource Sync Rule with the specified Resource Sync Rule name in the specified Resource Group, Subscription and Custom Location name.
Reference :  Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ExtendedLocation/customLocations/{resourceName}/resourceSyncRules/{childResourceName}
{
api-version: string ,
subscriptionId: string ,
resourceGroupName: string ,
resourceName: string ,
childResourceName: string ,
parameters:
{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
tags: object ,
}
,
}

⚐ Response (200)

{
properties:
{
priority: integer ,
provisioningState: string ,
selector:
{
matchExpressions:
[
{
key: string ,
operator: string ,
values:
[
string ,
]
,
}
,
]
,
matchLabels: object ,
}
,
targetResourceGroup: string ,
}
,
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}