Interface CloudsClient
-
public interface CloudsClient
An instance of this class provides access to all the operations defined in CloudsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudInner>,CloudInner>
beginCreateOrUpdate(String resourceGroupName, String cloudName, CloudInner body)
Onboards the ScVmm fabric cloud as an Azure cloud resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudInner>,CloudInner>
beginCreateOrUpdate(String resourceGroupName, String cloudName, CloudInner body, com.azure.core.util.Context context)
Onboards the ScVmm fabric cloud as an Azure cloud resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String cloudName, Boolean force)
Deregisters the ScVmm fabric cloud from Azure.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>
beginDelete(String resourceGroupName, String cloudName, Boolean force, com.azure.core.util.Context context)
Deregisters the ScVmm fabric cloud from Azure.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudInner>,CloudInner>
beginUpdate(String resourceGroupName, String cloudName, ResourcePatch body)
Updates the Clouds resource.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudInner>,CloudInner>
beginUpdate(String resourceGroupName, String cloudName, ResourcePatch body, com.azure.core.util.Context context)
Updates the Clouds resource.CloudInner
createOrUpdate(String resourceGroupName, String cloudName, CloudInner body)
Onboards the ScVmm fabric cloud as an Azure cloud resource.CloudInner
createOrUpdate(String resourceGroupName, String cloudName, CloudInner body, com.azure.core.util.Context context)
Onboards the ScVmm fabric cloud as an Azure cloud resource.void
delete(String resourceGroupName, String cloudName)
Deregisters the ScVmm fabric cloud from Azure.void
delete(String resourceGroupName, String cloudName, Boolean force)
Deregisters the ScVmm fabric cloud from Azure.void
delete(String resourceGroupName, String cloudName, Boolean force, com.azure.core.util.Context context)
Deregisters the ScVmm fabric cloud from Azure.CloudInner
getByResourceGroup(String resourceGroupName, String cloudName)
Implements Cloud GET method.com.azure.core.http.rest.Response<CloudInner>
getByResourceGroupWithResponse(String resourceGroupName, String cloudName, com.azure.core.util.Context context)
Implements Cloud GET method.com.azure.core.http.rest.PagedIterable<CloudInner>
list()
List of Clouds in a subscription.com.azure.core.http.rest.PagedIterable<CloudInner>
list(com.azure.core.util.Context context)
List of Clouds in a subscription.com.azure.core.http.rest.PagedIterable<CloudInner>
listByResourceGroup(String resourceGroupName)
List of Clouds in a resource group.com.azure.core.http.rest.PagedIterable<CloudInner>
listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
List of Clouds in a resource group.CloudInner
update(String resourceGroupName, String cloudName, ResourcePatch body)
Updates the Clouds resource.CloudInner
update(String resourceGroupName, String cloudName, ResourcePatch body, com.azure.core.util.Context context)
Updates the Clouds resource.
-
-
-
Method Detail
-
getByResourceGroup
CloudInner getByResourceGroup(String resourceGroupName, String cloudName)
Implements Cloud GET method.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.- Returns:
- the Clouds resource definition.
- Throws:
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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<CloudInner> getByResourceGroupWithResponse(String resourceGroupName, String cloudName, com.azure.core.util.Context context)
Implements Cloud GET method.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.context
- The context to associate with this operation.- Returns:
- the Clouds resource definition along with
Response
. - Throws:
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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudInner>,CloudInner> beginCreateOrUpdate(String resourceGroupName, String cloudName, CloudInner body)
Onboards the ScVmm fabric cloud as an Azure cloud resource.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.body
- Request payload.- Returns:
- the
SyncPoller
for polling of the Clouds resource definition. - Throws:
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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudInner>,CloudInner> beginCreateOrUpdate(String resourceGroupName, String cloudName, CloudInner body, com.azure.core.util.Context context)
Onboards the ScVmm fabric cloud as an Azure cloud resource.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.body
- Request payload.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the Clouds resource definition. - Throws:
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.
-
createOrUpdate
CloudInner createOrUpdate(String resourceGroupName, String cloudName, CloudInner body)
Onboards the ScVmm fabric cloud as an Azure cloud resource.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.body
- Request payload.- Returns:
- the Clouds resource definition.
- Throws:
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.
-
createOrUpdate
CloudInner createOrUpdate(String resourceGroupName, String cloudName, CloudInner body, com.azure.core.util.Context context)
Onboards the ScVmm fabric cloud as an Azure cloud resource.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.body
- Request payload.context
- The context to associate with this operation.- Returns:
- the Clouds resource definition.
- Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String cloudName, Boolean force)
Deregisters the ScVmm fabric cloud from Azure.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.force
- Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String cloudName, Boolean force, com.azure.core.util.Context context)
Deregisters the ScVmm fabric cloud from Azure.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.force
- Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
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.
-
delete
void delete(String resourceGroupName, String cloudName, Boolean force)
Deregisters the ScVmm fabric cloud from Azure.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.force
- Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.- Throws:
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.
-
delete
void delete(String resourceGroupName, String cloudName)
Deregisters the ScVmm fabric cloud from Azure.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.- Throws:
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.
-
delete
void delete(String resourceGroupName, String cloudName, Boolean force, com.azure.core.util.Context context)
Deregisters the ScVmm fabric cloud from Azure.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.force
- Forces the resource to be deleted from azure. The corresponding CR would be attempted to be deleted too.context
- The context to associate with this operation.- Throws:
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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudInner>,CloudInner> beginUpdate(String resourceGroupName, String cloudName, ResourcePatch body)
Updates the Clouds resource.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.body
- Clouds patch payload.- Returns:
- the
SyncPoller
for polling of the Clouds resource definition. - Throws:
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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CloudInner>,CloudInner> beginUpdate(String resourceGroupName, String cloudName, ResourcePatch body, com.azure.core.util.Context context)
Updates the Clouds resource.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.body
- Clouds patch payload.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the Clouds resource definition. - Throws:
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.
-
update
CloudInner update(String resourceGroupName, String cloudName, ResourcePatch body)
Updates the Clouds resource.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.body
- Clouds patch payload.- Returns:
- the Clouds resource definition.
- Throws:
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.
-
update
CloudInner update(String resourceGroupName, String cloudName, ResourcePatch body, com.azure.core.util.Context context)
Updates the Clouds resource.- Parameters:
resourceGroupName
- The name of the resource group.cloudName
- Name of the Cloud.body
- Clouds patch payload.context
- The context to associate with this operation.- Returns:
- the Clouds resource definition.
- Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CloudInner> listByResourceGroup(String resourceGroupName)
List of Clouds in a resource group.- Parameters:
resourceGroupName
- The name of the resource group.- Returns:
- list of Clouds as paginated response with
PagedIterable
. - Throws:
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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<CloudInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
List of Clouds in a resource group.- Parameters:
resourceGroupName
- The name of the resource group.context
- The context to associate with this operation.- Returns:
- list of Clouds as paginated response with
PagedIterable
. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<CloudInner> list()
List of Clouds in a subscription.- Returns:
- list of Clouds as paginated response with
PagedIterable
. - Throws:
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.
-
list
com.azure.core.http.rest.PagedIterable<CloudInner> list(com.azure.core.util.Context context)
List of Clouds in a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of Clouds as paginated response with
PagedIterable
. - Throws:
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.
-
-