public interface LinkedSubscriptionsClient
| Modifier and Type | Method and Description |
|---|---|
LinkedSubscriptionInner |
createOrUpdate(String resourceGroup,
String linkedSubscriptionName,
LinkedSubscriptionParameter resource)
Create or update a linked subscription resource.
|
com.azure.core.http.rest.Response<LinkedSubscriptionInner> |
createOrUpdateWithResponse(String resourceGroup,
String linkedSubscriptionName,
LinkedSubscriptionParameter resource,
com.azure.core.util.Context context)
Create or update a linked subscription resource.
|
void |
delete(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.
|
LinkedSubscriptionInner |
getByResourceGroup(String resourceGroup,
String linkedSubscriptionName)
Returns the properties of a Linked Subscription resource.
|
com.azure.core.http.rest.Response<LinkedSubscriptionInner> |
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<LinkedSubscriptionInner> |
list()
Returns a list of all linked subscriptions under current subscription.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscriptionInner> |
list(com.azure.core.util.Context context)
Returns a list of all linked subscriptions under current subscription.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscriptionInner> |
listByResourceGroup(String resourceGroup)
Returns a list of all linked subscriptions under current resource group.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscriptionInner> |
listByResourceGroup(String resourceGroup,
com.azure.core.util.Context context)
Returns a list of all linked subscriptions under current resource group.
|
LinkedSubscriptionInner |
update(String resourceGroup,
String linkedSubscriptionName,
LinkedSubscriptionParameter resource)
Patch a Linked Subscription resource.
|
com.azure.core.http.rest.Response<LinkedSubscriptionInner> |
updateWithResponse(String resourceGroup,
String linkedSubscriptionName,
LinkedSubscriptionParameter resource,
com.azure.core.util.Context context)
Patch a Linked Subscription resource.
|
com.azure.core.http.rest.PagedIterable<LinkedSubscriptionInner> 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<LinkedSubscriptionInner> 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<LinkedSubscriptionInner> 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<LinkedSubscriptionInner> 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.LinkedSubscriptionInner 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<LinkedSubscriptionInner> 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 delete(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.LinkedSubscriptionInner createOrUpdate(String resourceGroup, String linkedSubscriptionName, LinkedSubscriptionParameter resource)
resourceGroup - Name of the resource group.linkedSubscriptionName - Name of the Linked Subscription resource.resource - Linked subscription resource parameter.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<LinkedSubscriptionInner> createOrUpdateWithResponse(String resourceGroup, String linkedSubscriptionName, LinkedSubscriptionParameter resource, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.linkedSubscriptionName - Name of the Linked Subscription resource.resource - Linked subscription resource parameter.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.LinkedSubscriptionInner update(String resourceGroup, String linkedSubscriptionName, LinkedSubscriptionParameter resource)
resourceGroup - Name of the resource group.linkedSubscriptionName - Name of the Linked Subscription resource.resource - Linked subscription resource parameter.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<LinkedSubscriptionInner> updateWithResponse(String resourceGroup, String linkedSubscriptionName, LinkedSubscriptionParameter resource, com.azure.core.util.Context context)
resourceGroup - Name of the resource group.linkedSubscriptionName - Name of the Linked Subscription resource.resource - Linked subscription resource parameter.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.Copyright © 2021 Microsoft Corporation. All rights reserved.