CustomLocations interface
Interface representing a CustomLocations.
Methods
begin |
Creates or updates a Custom Location in the specified Subscription and Resource Group |
begin |
Creates or updates a Custom Location in the specified Subscription and Resource Group |
begin |
Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id. |
begin |
Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id. |
find |
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. |
get(string, string, Custom |
Gets the details of the customLocation with a specified resource group and name. |
list |
Gets a list of Custom Locations in the specified subscription and resource group. The operation returns properties of each Custom Location. |
list |
Gets a list of Custom Locations in the specified subscription. The operation returns properties of each Custom Location |
list |
Gets the list of the Enabled Resource Types. |
list |
Lists all available Custom Locations operations. |
update(string, string, Custom |
Updates a Custom Location with the specified Resource Name in the specified Resource Group and Subscription. |
Method Details
beginCreateOrUpdate(string, string, CustomLocation, CustomLocationsCreateOrUpdateOptionalParams)
Creates or updates a Custom Location in the specified Subscription and Resource Group
function beginCreateOrUpdate(resourceGroupName: string, resourceName: string, parameters: CustomLocation, options?: CustomLocationsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<CustomLocation>, CustomLocation>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
Custom Locations name.
- parameters
- CustomLocation
Parameters supplied to create or update a Custom Location.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<CustomLocation>, CustomLocation>>
beginCreateOrUpdateAndWait(string, string, CustomLocation, CustomLocationsCreateOrUpdateOptionalParams)
Creates or updates a Custom Location in the specified Subscription and Resource Group
function beginCreateOrUpdateAndWait(resourceGroupName: string, resourceName: string, parameters: CustomLocation, options?: CustomLocationsCreateOrUpdateOptionalParams): Promise<CustomLocation>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
Custom Locations name.
- parameters
- CustomLocation
Parameters supplied to create or update a Custom Location.
The options parameters.
Returns
Promise<CustomLocation>
beginDelete(string, string, CustomLocationsDeleteOptionalParams)
Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
function beginDelete(resourceGroupName: string, resourceName: string, options?: CustomLocationsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
Custom Locations name.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, CustomLocationsDeleteOptionalParams)
Deletes the Custom Location with the specified Resource Name, Resource Group, and Subscription Id.
function beginDeleteAndWait(resourceGroupName: string, resourceName: string, options?: CustomLocationsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
Custom Locations name.
The options parameters.
Returns
Promise<void>
findTargetResourceGroup(string, string, CustomLocationFindTargetResourceGroupProperties, CustomLocationsFindTargetResourceGroupOptionalParams)
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.
function findTargetResourceGroup(resourceGroupName: string, resourceName: string, parameters: CustomLocationFindTargetResourceGroupProperties, options?: CustomLocationsFindTargetResourceGroupOptionalParams): Promise<CustomLocationFindTargetResourceGroupResult>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
Custom Locations name.
Parameters of the find target resource group request.
The options parameters.
Returns
get(string, string, CustomLocationsGetOptionalParams)
Gets the details of the customLocation with a specified resource group and name.
function get(resourceGroupName: string, resourceName: string, options?: CustomLocationsGetOptionalParams): Promise<CustomLocation>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
Custom Locations name.
- options
- CustomLocationsGetOptionalParams
The options parameters.
Returns
Promise<CustomLocation>
listByResourceGroup(string, CustomLocationsListByResourceGroupOptionalParams)
Gets a list of Custom Locations in the specified subscription and resource group. The operation returns properties of each Custom Location.
function listByResourceGroup(resourceGroupName: string, options?: CustomLocationsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<CustomLocation, CustomLocation[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(CustomLocationsListBySubscriptionOptionalParams)
Gets a list of Custom Locations in the specified subscription. The operation returns properties of each Custom Location
function listBySubscription(options?: CustomLocationsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<CustomLocation, CustomLocation[], PageSettings>
Parameters
The options parameters.
Returns
listEnabledResourceTypes(string, string, CustomLocationsListEnabledResourceTypesOptionalParams)
Gets the list of the Enabled Resource Types.
function listEnabledResourceTypes(resourceGroupName: string, resourceName: string, options?: CustomLocationsListEnabledResourceTypesOptionalParams): PagedAsyncIterableIterator<EnabledResourceType, EnabledResourceType[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
Custom Locations name.
The options parameters.
Returns
listOperations(CustomLocationsListOperationsOptionalParams)
Lists all available Custom Locations operations.
function listOperations(options?: CustomLocationsListOperationsOptionalParams): PagedAsyncIterableIterator<CustomLocationOperation, CustomLocationOperation[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, CustomLocationsUpdateOptionalParams)
Updates a Custom Location with the specified Resource Name in the specified Resource Group and Subscription.
function update(resourceGroupName: string, resourceName: string, options?: CustomLocationsUpdateOptionalParams): Promise<CustomLocation>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- resourceName
-
string
Custom Locations name.
The options parameters.
Returns
Promise<CustomLocation>
Azure SDK for JavaScript