LinkedSubscriptions interface
Interface representing a LinkedSubscriptions.
Methods
create |
Create or update a linked subscription resource. |
delete(string, string, Linked |
Delete the requested Linked Subscription resource. |
get(string, string, Linked |
Returns the properties of a Linked Subscription resource. |
list |
Returns a list of all linked subscriptions under current resource group. |
list |
Returns a list of all linked subscriptions under current subscription. |
update(string, string, Linked |
Patch a Linked Subscription resource. |
Method Details
createOrUpdate(string, string, LinkedSubscriptionParameter, LinkedSubscriptionsCreateOrUpdateOptionalParams)
Create or update a linked subscription resource.
function createOrUpdate(resourceGroup: string, linkedSubscriptionName: string, resource: LinkedSubscriptionParameter, options?: LinkedSubscriptionsCreateOrUpdateOptionalParams): Promise<LinkedSubscription>
Parameters
- resourceGroup
-
string
Name of the resource group.
- linkedSubscriptionName
-
string
Name of the Linked Subscription resource.
- resource
- LinkedSubscriptionParameter
Linked subscription resource parameter.
The options parameters.
Returns
Promise<LinkedSubscription>
delete(string, string, LinkedSubscriptionsDeleteOptionalParams)
Delete the requested Linked Subscription resource.
function delete(resourceGroup: string, linkedSubscriptionName: string, options?: LinkedSubscriptionsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroup
-
string
Name of the resource group.
- linkedSubscriptionName
-
string
Name of the Linked Subscription resource.
The options parameters.
Returns
Promise<void>
get(string, string, LinkedSubscriptionsGetOptionalParams)
Returns the properties of a Linked Subscription resource.
function get(resourceGroup: string, linkedSubscriptionName: string, options?: LinkedSubscriptionsGetOptionalParams): Promise<LinkedSubscription>
Parameters
- resourceGroup
-
string
Name of the resource group.
- linkedSubscriptionName
-
string
Name of the Linked Subscription resource.
The options parameters.
Returns
Promise<LinkedSubscription>
listByResourceGroup(string, LinkedSubscriptionsListByResourceGroupOptionalParams)
Returns a list of all linked subscriptions under current resource group.
function listByResourceGroup(resourceGroup: string, options?: LinkedSubscriptionsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<LinkedSubscription, LinkedSubscription[], PageSettings>
Parameters
- resourceGroup
-
string
Name of the resource group.
The options parameters.
Returns
listBySubscription(LinkedSubscriptionsListBySubscriptionOptionalParams)
Returns a list of all linked subscriptions under current subscription.
function listBySubscription(options?: LinkedSubscriptionsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<LinkedSubscription, LinkedSubscription[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, LinkedSubscriptionParameter, LinkedSubscriptionsUpdateOptionalParams)
Patch a Linked Subscription resource.
function update(resourceGroup: string, linkedSubscriptionName: string, resource: LinkedSubscriptionParameter, options?: LinkedSubscriptionsUpdateOptionalParams): Promise<LinkedSubscription>
Parameters
- resourceGroup
-
string
Name of the resource group.
- linkedSubscriptionName
-
string
Name of the Linked Subscription resource.
- resource
- LinkedSubscriptionParameter
Linked subscription resource parameter.
The options parameters.
Returns
Promise<LinkedSubscription>
Azure SDK for JavaScript