OperationDefinitionInner Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. fluent. models. OperationDefinitionInner
- com.
Implements
public final class OperationDefinitionInner
implements JsonSerializable<OperationDefinitionInner>
The definition of a container registry operation.
Constructor Summary
Constructor | Description |
---|---|
OperationDefinitionInner() |
Creates an instance of Operation |
Method Summary
Modifier and Type | Method and Description |
---|---|
Operation |
display()
Get the display property: The display information for the container registry operation. |
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
Boolean |
isDataAction()
Get the is |
String |
name()
Get the name property: Operation name: {provider}/{resource}/{operation}. |
String |
origin()
Get the origin property: The origin information of the container registry operation. |
Operation |
serviceSpecification()
Get the service |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Operation |
withDisplay(OperationDisplayDefinition display)
Set the display property: The display information for the container registry operation. |
Operation |
withIsDataAction(Boolean isDataAction)
Set the is |
Operation |
withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}. |
Operation |
withOrigin(String origin)
Set the origin property: The origin information of the container registry operation. |
Operation |
withServiceSpecification(OperationServiceSpecificationDefinition serviceSpecification)
Set the service |
Methods inherited from java.lang.Object
Constructor Details
OperationDefinitionInner
public OperationDefinitionInner()
Creates an instance of OperationDefinitionInner class.
Method Details
display
public OperationDisplayDefinition display()
Get the display property: The display information for the container registry operation.
Returns:
fromJson
public static OperationDefinitionInner fromJson(JsonReader jsonReader)
Reads an instance of OperationDefinitionInner from the JsonReader.
Parameters:
Returns:
Throws:
isDataAction
public Boolean isDataAction()
Get the isDataAction property: This property indicates if the operation is an action or a data action ref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions\#management-and-data-operations.
Returns:
name
public String name()
Get the name property: Operation name: {provider}/{resource}/{operation}.
Returns:
origin
public String origin()
Get the origin property: The origin information of the container registry operation.
Returns:
serviceSpecification
public OperationServiceSpecificationDefinition serviceSpecification()
Get the serviceSpecification property: The definition of Azure Monitoring service.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDisplay
public OperationDefinitionInner withDisplay(OperationDisplayDefinition display)
Set the display property: The display information for the container registry operation.
Parameters:
Returns:
withIsDataAction
public OperationDefinitionInner withIsDataAction(Boolean isDataAction)
Set the isDataAction property: This property indicates if the operation is an action or a data action ref: https://docs.microsoft.com/en-us/azure/role-based-access-control/role-definitions\#management-and-data-operations.
Parameters:
Returns:
withName
public OperationDefinitionInner withName(String name)
Set the name property: Operation name: {provider}/{resource}/{operation}.
Parameters:
Returns:
withOrigin
public OperationDefinitionInner withOrigin(String origin)
Set the origin property: The origin information of the container registry operation.
Parameters:
Returns:
withServiceSpecification
public OperationDefinitionInner withServiceSpecification(OperationServiceSpecificationDefinition serviceSpecification)
Set the serviceSpecification property: The definition of Azure Monitoring service.
Parameters:
Returns:
Applies to
Azure SDK for Java