Share via


UserContractData Class

Definition

A class representing the UserContract data model. User details.

public class UserContractData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ApiManagement.UserContractData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ApiManagement.UserContractData>
type UserContractData = class
    inherit ResourceData
    interface IJsonModel<UserContractData>
    interface IPersistableModel<UserContractData>
Public Class UserContractData
Inherits ResourceData
Implements IJsonModel(Of UserContractData), IPersistableModel(Of UserContractData)
Inheritance
UserContractData
Implements

Constructors

UserContractData()

Initializes a new instance of UserContractData.

Properties

Email

Email address.

FirstName

First name.

Groups

Collection of groups user is part of.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identities

Collection of user identities.

LastName

Last name.

Name

The name of the resource.

(Inherited from ResourceData)
Note

Optional note about a user set by the administrator.

RegistriesOn

Date of user registration. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
State

Account state. Specifies whether the user is active or not. Blocked users are unable to sign into the developer portal or call any APIs of subscribed products. Default state is Active.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<UserContractData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<UserContractData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<UserContractData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<UserContractData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<UserContractData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to