你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureResource 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.
Customizations of AzureResource
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.AzureResourceTypeConverter))]
public class AzureResource : Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.IAzureResource
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.AzureResourceTypeConverter))>]
type AzureResource = class
interface IAzureResource
interface IJsonSerializable
Public Class AzureResource
Implements IAzureResource
- Inheritance
-
AzureResource
- Attributes
- Implements
Constructors
AzureResource() |
Creates an new AzureResource instance. |
Properties
Id |
The ID of this resource. |
Name |
The name of this resource. |
ResourceGroup |
The name of the resource group this resource belongs to. |
ResourceType |
Property revealing 'Type' in response table. |
SubscriptionDisplayName |
The name of the subscription this resource belongs to. |
SubscriptionId |
The ID of the subscription this resource belongs to. |
Type |
The type of this resource. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of AzureResource. |
DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of AzureResource. |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ManagedServiceIdentity.Models.Api20220131Preview.IAzureResource. |
FromJsonString(String) |
Creates a new instance of AzureResource, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) |
Serializes this instance of AzureResource into a JsonNode. |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |