Udostępnij za pośrednictwem


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.

public class ResourceModelWithAllowedPropertySet : Microsoft.Rest.Azure.IResource
type ResourceModelWithAllowedPropertySet = class
    interface IResource
Public Class ResourceModelWithAllowedPropertySet
Implements IResource
Inheritance
ResourceModelWithAllowedPropertySet
Implements

Constructors

ResourceModelWithAllowedPropertySet()

Initializes a new instance of the ResourceModelWithAllowedPropertySet class.

ResourceModelWithAllowedPropertySet(String, String, String, String, String, String, String, IDictionary<String,String>, ResourceModelWithAllowedPropertySetIdentity, ResourceModelWithAllowedPropertySetSku, ResourceModelWithAllowedPropertySetPlan)

Initializes a new instance of the ResourceModelWithAllowedPropertySet class.

Properties

Etag

Gets 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

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

Identity
Kind

Gets or sets 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

Gets or sets the geo-location where the resource lives

ManagedBy

Gets or sets 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

Gets the name of the resource

Plan
Sku
Tags

Gets or sets resource tags.

Type

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

Methods

Validate()

Validate the object.

Applies to