Share via


CloudMetadata Class

Definition

The metadata of the cloud environment (Azure/GCP/AWS/OCI...).

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.CloudMetadataTypeConverter))]
public class CloudMetadata : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadata
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.CloudMetadataTypeConverter))>]
type CloudMetadata = class
    interface ICloudMetadata
    interface IJsonSerializable
Public Class CloudMetadata
Implements ICloudMetadata
Inheritance
CloudMetadata
Attributes
Implements

Constructors

CloudMetadata()

Creates an new CloudMetadata instance.

Properties

Provider

Specifies the cloud provider (Azure/AWS/GCP...).

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CloudMetadata.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CloudMetadata.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ICloudMetadata.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of CloudMetadata into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to