Share via


OperationDefinition Class

Definition

The definition of a container registry operation.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.OperationDefinitionTypeConverter))]
public class OperationDefinition : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IOperationDefinition
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.OperationDefinitionTypeConverter))>]
type OperationDefinition = class
    interface IOperationDefinition
    interface IJsonSerializable
Public Class OperationDefinition
Implements IOperationDefinition
Inheritance
OperationDefinition
Attributes
Implements

Constructors

OperationDefinition()

Creates an new OperationDefinition instance.

Properties

DisplayDescription

The description for the operation.

DisplayOperation

The operation that users can perform.

DisplayProvider

The resource provider name: Microsoft.ContainerRegistry.

DisplayResource

The resource on which the operation is performed.

IsDataAction

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

Name

Operation name: {provider}/{resource}/{operation}.

Origin

The origin information of the container registry operation.

ServiceSpecificationLogSpecification

A list of Azure Monitoring log definitions.

ServiceSpecificationMetricSpecification

A list of Azure Monitoring metrics definition.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of OperationDefinition.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of OperationDefinition.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.IOperationDefinition.

FromJsonString(String)

Creates a new instance of OperationDefinition, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of OperationDefinition into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to