ResourceGroup Interface

public interface ResourceGroup extends Indexable,Resource,Refreshable,HasInner,Updatable<ResourceGroup.Update>,HasName

An immutable client-side representation of an Azure resource group.

Method Summary

Modifier and Type Method and Description
ResourceGroupExportResult exportTemplate(ResourceGroupExportTemplateOptions options)

Captures the specified resource group as a template.

Observable<ResourceGroupExportResult> exportTemplateAsync(ResourceGroupExportTemplateOptions options)

Captures the specified resource group as a template asynchronously.

ServiceFuture<ResourceGroupExportResult> exportTemplateAsync(ResourceGroupExportTemplateOptions options, ServiceCallback<ResourceGroupExportResult> callback)

Captures the specified resource group as a template asynchronously.

String provisioningState()

Inherited Members

Method Details

exportTemplate

public ResourceGroupExportResult exportTemplate(ResourceGroupExportTemplateOptions options)

Captures the specified resource group as a template.

Parameters:

options - the export options

Returns:

the exported template result

exportTemplateAsync

public Observable exportTemplateAsync(ResourceGroupExportTemplateOptions options)

Captures the specified resource group as a template asynchronously.

Parameters:

options - the export options

Returns:

a representation of the deferred computation of this call returning the result of the template export

exportTemplateAsync

public ServiceFuture exportTemplateAsync(ResourceGroupExportTemplateOptions options, ServiceCallback callback)

Captures the specified resource group as a template asynchronously.

Parameters:

options - the export options
callback - the callback to call on success or failure with result as parameter

Returns:

a handle to cancel the request

provisioningState

public String provisioningState()

Returns:

the provisioning state of the resource group

Applies to