ResourceGroupExportResultInner Class
- java.
lang. Object - com.
azure. resourcemanager. resources. fluent. models. ResourceGroupExportResultInner
- com.
Implements
public final class ResourceGroupExportResultInner
implements JsonSerializable<ResourceGroupExportResultInner>
Resource group export result.
Constructor Summary
Constructor | Description |
---|---|
ResourceGroupExportResultInner() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
Management |
error()
Get the error property: The template export error. |
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
output()
Get the output property: The formatted export content. |
Object |
template()
Get the template property: The template content. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Resource |
withError(ManagementError error)
Set the error property: The template export error. |
Resource |
withOutput(String output)
Set the output property: The formatted export content. |
Resource |
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: The template export error.
Returns:
fromJson
public static ResourceGroupExportResultInner fromJson(JsonReader jsonReader)
Reads an instance of ResourceGroupExportResultInner from the JsonReader.
Parameters:
Returns:
Throws:
output
public String output()
Get the output property: The formatted export content. Used if outputFormat is set to 'Bicep'.
Returns:
template
public Object template()
Get the template property: The template content. Used if outputFormat is empty or set to 'Json'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withError
public ResourceGroupExportResultInner withError(ManagementError error)
Set the error property: The template export error.
Parameters:
Returns:
withOutput
public ResourceGroupExportResultInner withOutput(String output)
Set the output property: The formatted export content. Used if outputFormat is set to 'Bicep'.
Parameters:
Returns:
withTemplate
public ResourceGroupExportResultInner withTemplate(Object template)
Set the template property: The template content. Used if outputFormat is empty or set to 'Json'.
Parameters:
Returns:
Applies to
Azure SDK for Java