次の方法で共有


ResourceGroupExportResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.resources.fluent.models.ResourceGroupExportResultInner

public final class ResourceGroupExportResultInner

Resource group export result.

Constructor Summary

Constructor Description
ResourceGroupExportResultInner()

Creates an instance of ResourceGroupExportResultInner class.

Method Summary

Modifier and Type Method and Description
ManagementError error()

Get the error property: Error Response The template export error.

String output()

Get the output property: The formatted export content.

Object template()

Get the template property: The template content.

void validate()

Validates the instance.

ResourceGroupExportResultInner withError(ManagementError error)

Set the error property: Error Response The template export error.

ResourceGroupExportResultInner withOutput(String output)

Set the output property: The formatted export content.

ResourceGroupExportResultInner withTemplate(Object template)

Set the template property: The template content.

Methods inherited from java.lang.Object

Constructor Details

ResourceGroupExportResultInner

public ResourceGroupExportResultInner()

Creates an instance of ResourceGroupExportResultInner class.

Method Details

error

public ManagementError error()

Get the error property: Error Response The template export error.

Returns:

the error value.

output

public String output()

Get the output property: The formatted export content. Used if outputFormat is set to 'Bicep'.

Returns:

the output value.

template

public Object template()

Get the template property: The template content. Used if outputFormat is empty or set to 'Json'.

Returns:

the template value.

validate

public void validate()

Validates the instance.

withError

public ResourceGroupExportResultInner withError(ManagementError error)

Set the error property: Error Response The template export error.

Parameters:

error - the error value to set.

Returns:

the ResourceGroupExportResultInner object itself.

withOutput

public ResourceGroupExportResultInner withOutput(String output)

Set the output property: The formatted export content. Used if outputFormat is set to 'Bicep'.

Parameters:

output - the output value to set.

Returns:

the ResourceGroupExportResultInner object itself.

withTemplate

public ResourceGroupExportResultInner withTemplate(Object template)

Set the template property: The template content. Used if outputFormat is empty or set to 'Json'.

Parameters:

template - the template value to set.

Returns:

the ResourceGroupExportResultInner object itself.

Applies to