DataPolicyManifestInner Class

public final class DataPolicyManifestInner
extends ProxyResource

The data policy manifest.

Method Summary

Modifier and Type Method and Description
List<DataManifestCustomResourceFunctionDefinition> custom()

Get the custom property: An array of data manifest custom resource definitions.

List<DataEffect> effects()

Get the effects property: The effect definition.

List<String> fieldValues()

Get the fieldValues property: The non-alias field accessor values that can be used in the policy rule.

static DataPolicyManifestInner fromJson(JsonReader jsonReader)

Reads an instance of DataPolicyManifestInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean isBuiltInOnly()

Get the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.

String name()

Get the name property: The name of the resource.

List<String> namespaces()

Get the namespaces property: The list of namespaces for the data policy manifest.

String policyMode()

Get the policyMode property: The policy mode of the data policy manifest.

List<ResourceTypeAliases> resourceTypeAliases()

Get the resourceTypeAliases property: An array of resource type aliases.

List<String> standard()

Get the standard property: The standard resource functions (subscription and/or resourceGroup).

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

custom

public List<DataManifestCustomResourceFunctionDefinition> custom()

Get the custom property: An array of data manifest custom resource definitions.

Returns:

the custom value.

effects

public List<DataEffect> effects()

Get the effects property: The effect definition.

Returns:

the effects value.

fieldValues

public List<String> fieldValues()

Get the fieldValues property: The non-alias field accessor values that can be used in the policy rule.

Returns:

the fieldValues value.

fromJson

public static DataPolicyManifestInner fromJson(JsonReader jsonReader)

Reads an instance of DataPolicyManifestInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

DataPolicyManifestInner.id()

Returns:

the id value.

isBuiltInOnly

public Boolean isBuiltInOnly()

Get the isBuiltInOnly property: A value indicating whether policy mode is allowed only in built-in definitions.

Returns:

the isBuiltInOnly value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

DataPolicyManifestInner.name()

Returns:

the name value.

namespaces

public List<String> namespaces()

Get the namespaces property: The list of namespaces for the data policy manifest.

Returns:

the namespaces value.

policyMode

public String policyMode()

Get the policyMode property: The policy mode of the data policy manifest.

Returns:

the policyMode value.

resourceTypeAliases

public List<ResourceTypeAliases> resourceTypeAliases()

Get the resourceTypeAliases property: An array of resource type aliases.

Returns:

the resourceTypeAliases value.

standard

public List<String> standard()

Get the standard property: The standard resource functions (subscription and/or resourceGroup).

Returns:

the standard value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DataPolicyManifestInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

DataPolicyManifestInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to