Capability Class

Definition

Model that represents a Capability resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.CapabilityTypeConverter))]
public class Capability : Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability, Microsoft.Azure.PowerShell.Cmdlets.Chaos.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.CapabilityTypeConverter))>]
type Capability = class
    interface ICapability
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class Capability
Implements ICapability, IValidates
Inheritance
Capability
Attributes
Implements

Constructors

Name Description
Capability()

Creates an new Capability instance.

Properties

Name Description
Description

Localized string of the description.

Id

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

Name

The name of the resource

ParametersSchema

URL to retrieve JSON schema of the Capability parameters.

Publisher

String of the Publisher that this Capability extends.

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

TargetType

String of the Target Type that this Capability extends.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Urn

String of the URN for this Capability Type.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Capability.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Capability.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Chaos.Models.ICapability.

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of Capability into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to