Share via


Resource Class

Definition

Model of the Resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ResourceTypeConverter))]
public class Resource : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.ResourceTypeConverter))>]
type Resource = class
    interface IResource
    interface IJsonSerializable
Public Class Resource
Implements IResource
Inheritance
Resource
Attributes
Implements

Constructors

Resource()

Creates an new Resource instance.

Properties

IdentityPrincipalId

Service Principal Id backing the Msi

IdentityTenantId

Home Tenant Id

IdentityType

Identity type

IdentityUserAssignedIdentity

User Assigned Identities

Location

The location of the resource. This will be one of the supported and registered Azure Regions (e.g. West US, East US, Southeast Asia, etc.). The region of a resource cannot be changed once it is created, but if an identical region is specified on update the request will succeed.

SkuDisplayName

The display name of the sku.

SkuFamily

The sku family.

SkuName

The sku name.

Tag

The list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Resource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Resource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.IResource.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Resource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

Applies to