다음을 통해 공유


RoleAssignmentCreateOrUpdateContent Class

Definition

Role assignment create parameters.

public class RoleAssignmentCreateOrUpdateContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.Models.RoleAssignmentCreateOrUpdateContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.Models.RoleAssignmentCreateOrUpdateContent>
public class RoleAssignmentCreateOrUpdateContent
type RoleAssignmentCreateOrUpdateContent = class
    interface IJsonModel<RoleAssignmentCreateOrUpdateContent>
    interface IPersistableModel<RoleAssignmentCreateOrUpdateContent>
type RoleAssignmentCreateOrUpdateContent = class
Public Class RoleAssignmentCreateOrUpdateContent
Implements IJsonModel(Of RoleAssignmentCreateOrUpdateContent), IPersistableModel(Of RoleAssignmentCreateOrUpdateContent)
Public Class RoleAssignmentCreateOrUpdateContent
Inheritance
RoleAssignmentCreateOrUpdateContent
Implements

Constructors

RoleAssignmentCreateOrUpdateContent(ResourceIdentifier, Guid)

Initializes a new instance of RoleAssignmentCreateOrUpdateContent.

Properties

Condition

The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'.

ConditionVersion

Version of the condition. Currently the only accepted value is '2.0'.

CreatedBy

Id of the user who created the assignment.

CreatedOn

Time it was created.

DelegatedManagedIdentityResourceId

Id of the delegated managed identity resource.

Description

Description of role assignment.

PrincipalId

The principal ID.

PrincipalType

The principal type of the assigned principal ID.

RoleDefinitionId

The role definition ID.

Scope

The role assignment scope.

UpdatedBy

Id of the user who updated the assignment.

UpdatedOn

Time it was updated.

Explicit Interface Implementations

IJsonModel<RoleAssignmentCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RoleAssignmentCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RoleAssignmentCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RoleAssignmentCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RoleAssignmentCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to