ResourceIdentity Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The identity of a resource.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ResourceIdentityTypeConverter))]
public class ResourceIdentity : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentity
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ResourceIdentityTypeConverter))>]
type ResourceIdentity = class
interface IResourceIdentity
interface IJsonSerializable
Public Class ResourceIdentity
Implements IResourceIdentity
- Inheritance
-
ResourceIdentity
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ResourceIdentity() |
Creates an new ResourceIdentity instance. |
Properties
| Name | Description |
|---|---|
| PrincipalId |
GUID that represents the principal ID of this resource identity. |
| TenantId |
GUID that represents the tenant ID of this resource identity. |
| Type |
String of the resource identity type. |
| UserAssignedIdentity |
The list of user identities associated with the Experiment. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ResourceIdentity. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ResourceIdentity. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.IResourceIdentity. |
| FromJsonString(String) |
Creates a new instance of ResourceIdentity, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ResourceIdentity into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |