다음을 통해 공유


ResourceGroup Interface

Implements

HasName Resource HasInner<com.microsoft.azure.management.resources.implementation.ResourceGroupInner> Indexable Refreshable<ResourceGroup> Updatable<Update>

public interface ResourceGroup
extends Indexable, Resource, Refreshable<ResourceGroup>, HasInner<com.microsoft.azure.management.resources.implementation.ResourceGroupInner>, Updatable<Update>, HasName

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

Method Summary

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

Captures the specified resource group as a template.

abstract rx.Observable<ResourceGroupExportResult> exportTemplateAsync(ResourceGroupExportTemplateOptions options)

Captures the specified resource group as a template asynchronously.

abstract com.microsoft.rest.ServiceFuture<ResourceGroupExportResult> exportTemplateAsync(ResourceGroupExportTemplateOptions options, ServiceCallback<ResourceGroupExportResult> callback)

Captures the specified resource group as a template asynchronously.

abstract java.lang.String provisioningState()

Method Details

exportTemplate

public abstract ResourceGroupExportResult exportTemplate(ResourceGroupExportTemplateOptions options)

Captures the specified resource group as a template.

Parameters:

options - the export options

Returns:

the exported template result

exportTemplateAsync

public abstract 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 abstract 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 abstract String provisioningState()

Returns:

the provisioning state of the resource group

Applies to