DataManifestCustomResourceFunctionDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. resources. models. DataManifestCustomResourceFunctionDefinition
- com.
Implements
public final class DataManifestCustomResourceFunctionDefinition
implements JsonSerializable<DataManifestCustomResourceFunctionDefinition>
The custom resource function definition.
Constructor Summary
Constructor | Description |
---|---|
DataManifestCustomResourceFunctionDefinition() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
allowCustomProperties()
Get the allow |
List<String> |
defaultProperties()
Get the default |
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
String |
fullyQualifiedResourceType()
Get the fully |
String |
name()
Get the name property: The function name as it will appear in the policy rule. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Data |
withAllowCustomProperties(Boolean allowCustomProperties)
Set the allow |
Data |
withDefaultProperties(List<String> defaultProperties)
Set the default |
Data |
withFullyQualifiedResourceType(String fullyQualifiedResourceType)
Set the fully |
Data |
withName(String name)
Set the name property: The function name as it will appear in the policy rule. |
Methods inherited from java.lang.Object
Constructor Details
DataManifestCustomResourceFunctionDefinition
public DataManifestCustomResourceFunctionDefinition()
Creates an instance of DataManifestCustomResourceFunctionDefinition class.
Method Details
allowCustomProperties
public Boolean allowCustomProperties()
Get the allowCustomProperties property: A value indicating whether the custom properties within the property bag are allowed. Needs api-version to be specified in the policy rule eg - vault('2019-06-01').
Returns:
defaultProperties
public List
Get the defaultProperties property: The top-level properties that can be selected on the function's output. eg - [ "name", "location" ] if vault().name and vault().location are supported.
Returns:
fromJson
public static DataManifestCustomResourceFunctionDefinition fromJson(JsonReader jsonReader)
Reads an instance of DataManifestCustomResourceFunctionDefinition from the JsonReader.
Parameters:
Returns:
Throws:
fullyQualifiedResourceType
public String fullyQualifiedResourceType()
Get the fullyQualifiedResourceType property: The fully qualified control plane resource type that this function represents. eg - 'Microsoft.KeyVault/vaults'.
Returns:
name
public String name()
Get the name property: The function name as it will appear in the policy rule. eg - 'vault'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAllowCustomProperties
public DataManifestCustomResourceFunctionDefinition withAllowCustomProperties(Boolean allowCustomProperties)
Set the allowCustomProperties property: A value indicating whether the custom properties within the property bag are allowed. Needs api-version to be specified in the policy rule eg - vault('2019-06-01').
Parameters:
Returns:
withDefaultProperties
public DataManifestCustomResourceFunctionDefinition withDefaultProperties(List
Set the defaultProperties property: The top-level properties that can be selected on the function's output. eg - [ "name", "location" ] if vault().name and vault().location are supported.
Parameters:
Returns:
withFullyQualifiedResourceType
public DataManifestCustomResourceFunctionDefinition withFullyQualifiedResourceType(String fullyQualifiedResourceType)
Set the fullyQualifiedResourceType property: The fully qualified control plane resource type that this function represents. eg - 'Microsoft.KeyVault/vaults'.
Parameters:
Returns:
withName
public DataManifestCustomResourceFunctionDefinition withName(String name)
Set the name property: The function name as it will appear in the policy rule. eg - 'vault'.
Parameters:
Returns:
Applies to
Azure SDK for Java