Megosztás a következőn keresztül:


AzureEntityResource Class

Definition

The resource model definition for an Azure Resource Manager resource with an etag.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.AzureEntityResourceTypeConverter))]
public class AzureEntityResource : Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IAzureEntityResource, Microsoft.Azure.PowerShell.Cmdlets.Functions.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.AzureEntityResourceTypeConverter))>]
type AzureEntityResource = class
    interface IAzureEntityResource
    interface IJsonSerializable
    interface IResourceAutoGenerated
    interface IValidates
Public Class AzureEntityResource
Implements IAzureEntityResource, IValidates
Inheritance
AzureEntityResource
Attributes
Implements

Constructors

AzureEntityResource()

Creates an new AzureEntityResource instance.

Properties

Etag

Resource Etag.

Id

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

Name

The name of the resource

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 AzureEntityResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AzureEntityResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Functions.Models.Api10.IAzureEntityResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of AzureEntityResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to