Freigeben über


RequestApprovalResource Class

Definition

Request approval resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.RequestApprovalResourceTypeConverter))]
public class RequestApprovalResource : Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.IRequestApprovalResource, Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.RequestApprovalResourceTypeConverter))>]
type RequestApprovalResource = class
    interface IRequestApprovalResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class RequestApprovalResource
Implements IRequestApprovalResource, IValidates
Inheritance
RequestApprovalResource
Attributes
Implements

Constructors

RequestApprovalResource()

Creates an new RequestApprovalResource instance.

Properties

Id

The resource ID.

IsClosed

Gets a value indicating whether the request is closed

MessageCode

Gets or sets the request approval message code

Name

The name of the resource.

OfferDisplayName

Gets offer display name

OfferId

Gets or sets unique offer id.

PlansDetail

Gets or sets the plans details

PublisherId

The offer's publisher id

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC)

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource

Type

The type of the resource.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of RequestApprovalResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of RequestApprovalResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Marketplace.Models.IRequestApprovalResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of RequestApprovalResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to