Class OperationDefinitionInner


  • public final class OperationDefinitionInner
    extends Object
    The definition of a container registry operation.
    • Constructor Detail

      • OperationDefinitionInner

        public OperationDefinitionInner()
    • Method Detail

      • origin

        public String origin()
        Get the origin property: The origin information of the container registry operation.
        Returns:
        the origin value.
      • withOrigin

        public OperationDefinitionInner withOrigin​(String origin)
        Set the origin property: The origin information of the container registry operation.
        Parameters:
        origin - the origin value to set.
        Returns:
        the OperationDefinitionInner object itself.
      • name

        public String name()
        Get the name property: Operation name: {provider}/{resource}/{operation}.
        Returns:
        the name value.
      • withName

        public OperationDefinitionInner withName​(String name)
        Set the name property: Operation name: {provider}/{resource}/{operation}.
        Parameters:
        name - the name value to set.
        Returns:
        the OperationDefinitionInner object itself.
      • display

        public OperationDisplayDefinition display()
        Get the display property: The display information for the container registry operation.
        Returns:
        the display value.
      • withDisplay

        public OperationDefinitionInner withDisplay​(OperationDisplayDefinition display)
        Set the display property: The display information for the container registry operation.
        Parameters:
        display - the display value to set.
        Returns:
        the OperationDefinitionInner object itself.
      • 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:
        the isDataAction value.
      • 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:
        isDataAction - the isDataAction value to set.
        Returns:
        the OperationDefinitionInner object itself.
      • serviceSpecification

        public OperationServiceSpecificationDefinition serviceSpecification()
        Get the serviceSpecification property: The definition of Azure Monitoring service.
        Returns:
        the serviceSpecification value.
      • withServiceSpecification

        public OperationDefinitionInner withServiceSpecification​(OperationServiceSpecificationDefinition serviceSpecification)
        Set the serviceSpecification property: The definition of Azure Monitoring service.
        Parameters:
        serviceSpecification - the serviceSpecification value to set.
        Returns:
        the OperationDefinitionInner object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.