次の方法で共有


ResourceModelWithAllowedPropertySet Class

Definition

The resource model definition containing the full set of allowed properties for a resource. Except properties bag, there cannot be a top level property outside of this set.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.ResourceModelWithAllowedPropertySetTypeConverter))]
public class ResourceModelWithAllowedPropertySet : Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.IResourceModelWithAllowedPropertySet
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.ResourceModelWithAllowedPropertySetTypeConverter))>]
type ResourceModelWithAllowedPropertySet = class
    interface IResourceModelWithAllowedPropertySet
    interface IJsonSerializable
Public Class ResourceModelWithAllowedPropertySet
Implements IResourceModelWithAllowedPropertySet
Inheritance
ResourceModelWithAllowedPropertySet
Attributes
Implements

Constructors

ResourceModelWithAllowedPropertySet()

Creates an new ResourceModelWithAllowedPropertySet instance.

Properties

Etag

The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

Id

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

IdentityPrincipalId

The principal ID of resource identity.

IdentityTenantId

The tenant ID of resource.

IdentityType

The identity type.

Kind

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Location

The geo-location where the resource lives

ManagedBy

The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.

Name

The name of the resource

PlanName

A user defined name of the 3rd Party Artifact that is being procured.

PlanProduct

The 3rd Party artifact that is being procured. E.g. NewRelic. Product maps to the OfferID specified for the artifact at the time of Data Market onboarding.

PlanPromotionCode

A publisher provided promotion code as provisioned in Data Market for the said product/artifact.

PlanPublisher

The publisher of the 3rd Party Artifact that is being bought. E.g. NewRelic

PlanVersion

The version of the desired product/artifact.

SkuCapacity

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.

SkuFamily

If the service has different generations of hardware, for the same SKU, then that can be captured here.

SkuName

The name of the SKU. Ex - P3. It is typically a letter+number code

SkuSize

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

SkuTier

This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.

Tag

Resource tags.

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of ResourceModelWithAllowedPropertySet.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of ResourceModelWithAllowedPropertySet.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DesktopVirtualization.Models.Api10.IResourceModelWithAllowedPropertySet.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of ResourceModelWithAllowedPropertySet into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to