ManagedResourceReference Class

public final class ManagedResourceReference
extends ResourceReference

The managed resource model.

Method Summary

Modifier and Type Method and Description
String apiVersion()

Get the apiVersion property: The API version the resource was deployed with.

DenyStatusMode denyStatus()

Get the denyStatus property: denyAssignment settings applied to the resource.

DeploymentExtension extension()

Get the extension property: The extension the resource was deployed with.

static ManagedResourceReference fromJson(JsonReader jsonReader)

Reads an instance of ManagedResourceReference from the JsonReader.

String id()

Get the id property: The ARM Resource ID of a resource managed by the deployment stack.

Map<String,Object> identifiers()

Get the identifiers property: The extensible resource identifiers.

ResourceStatusMode status()

Get the status property: Current management state of the resource in the deployment stack.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The resource type.

Methods inherited from ResourceReference

Methods inherited from java.lang.Object

Method Details

apiVersion

public String apiVersion()

Get the apiVersion property: The API version the resource was deployed with.

Overrides:

ManagedResourceReference.apiVersion()

Returns:

the apiVersion value.

denyStatus

public DenyStatusMode denyStatus()

Get the denyStatus property: denyAssignment settings applied to the resource.

Returns:

the denyStatus value.

extension

public DeploymentExtension extension()

Get the extension property: The extension the resource was deployed with.

Overrides:

ManagedResourceReference.extension()

Returns:

the extension value.

fromJson

public static ManagedResourceReference fromJson(JsonReader jsonReader)

Reads an instance of ManagedResourceReference from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ManagedResourceReference if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ManagedResourceReference.

id

public String id()

Get the id property: The ARM Resource ID of a resource managed by the deployment stack.

Overrides:

ManagedResourceReference.id()

Returns:

the id value.

identifiers

public Map<String,Object> identifiers()

Get the identifiers property: The extensible resource identifiers.

Overrides:

ManagedResourceReference.identifiers()

Returns:

the identifiers value.

status

public ResourceStatusMode status()

Get the status property: Current management state of the resource in the deployment stack.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ManagedResourceReference.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The resource type.

Overrides:

ManagedResourceReference.type()

Returns:

the type value.

Applies to