public interface LinkedSubscriptions
| Modifier and Type | Method and Description |
|---|---|
LinkedSubscription.DefinitionStages.Blank |
define(String name)
Begins definition for a new LinkedSubscription resource.
|
void |
deleteById(String id)
Delete the requested Linked Subscription resource.
|
com.azure.core.http.rest.Response<Void> |
deleteByIdWithResponse(String id,
com.azure.core.util.Context context)
Delete the requested Linked Subscription resource.
|
void |
deleteByResourceGroup(String resourceGroup,
String linkedSubscriptionName)
Delete the requested Linked Subscription resource.
|
com.azure.core.http.rest.Response<Void> |
deleteWithResponse(String resourceGroup,
String linkedSubscriptionName,
com.azure.core.util.Context context)
Delete the requested Linked Subscription resource.
|
LinkedSubscription |
getById(String id)
Returns the properties of a Linked Subscription resource.
|
com.azure.core.http.rest.Response<LinkedSubscription> |
getByIdWithResponse(String id,
com.azure.core.util.Context context)
Returns the properties of a Linked Subscription resource.
|
LinkedSubscription |
getByResourceGroup(String resourceGroup,
String linkedSubscriptionName)
Returns the properties of a Linked Subscription resource.
|
com.azure.core.http.rest.Response<LinkedSubscription> |
getByResourceGroupWithResponse(String resourceGroup,
String linkedSubscriptionName,
com.azure.core.util.Context context)
Returns the properties of a Linked Subscription resource.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscription> |
list()
Returns a list of all linked subscriptions under current subscription.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscription> |
list(com.azure.core.util.Context context)
Returns a list of all linked subscriptions under current subscription.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscription> |
listByResourceGroup(String resourceGroup)
Returns a list of all linked subscriptions under current resource group.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscription> |
listByResourceGroup(String resourceGroup,
com.azure.core.util.Context context)
Returns a list of all linked subscriptions under current resource group.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscription> listByResourceGroup(String resourceGroup)
resourceGroup - Name of the resource group.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LinkedSubscription> listByResourceGroup(String resourceGroup, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LinkedSubscription> list()
com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<LinkedSubscription> list(com.azure.core.util.Context context)
context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LinkedSubscription getByResourceGroup(String resourceGroup, String linkedSubscriptionName)
resourceGroup - Name of the resource group.linkedSubscriptionName - Name of the Linked Subscription resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LinkedSubscription> getByResourceGroupWithResponse(String resourceGroup, String linkedSubscriptionName, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.linkedSubscriptionName - Name of the Linked Subscription resource.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void deleteByResourceGroup(String resourceGroup, String linkedSubscriptionName)
resourceGroup - Name of the resource group.linkedSubscriptionName - Name of the Linked Subscription resource.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroup, String linkedSubscriptionName, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.linkedSubscriptionName - Name of the Linked Subscription resource.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LinkedSubscription getById(String id)
id - the resource ID.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<LinkedSubscription> getByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void deleteById(String id)
id - the resource ID.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context)
id - the resource ID.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.LinkedSubscription.DefinitionStages.Blank define(String name)
name - resource name.Copyright © 2021 Microsoft Corporation. All rights reserved.