Capabilities interface

Interface representing a Capabilities.

Methods

createOrUpdate(string, string, string, string, string, string, Capability, CapabilitiesCreateOrUpdateOptionalParams)

Create or update a Capability resource that extends a Target resource.

delete(string, string, string, string, string, string, CapabilitiesDeleteOptionalParams)

Delete a Capability that extends a Target resource.

get(string, string, string, string, string, string, CapabilitiesGetOptionalParams)

Get a Capability resource that extends a Target resource.

list(string, string, string, string, string, CapabilitiesListOptionalParams)

Get a list of Capability resources that extend a Target resource..

Method Details

createOrUpdate(string, string, string, string, string, string, Capability, CapabilitiesCreateOrUpdateOptionalParams)

Create or update a Capability resource that extends a Target resource.

function createOrUpdate(resourceGroupName: string, parentProviderNamespace: string, parentResourceType: string, parentResourceName: string, targetName: string, capabilityName: string, capability: Capability, options?: CapabilitiesCreateOrUpdateOptionalParams): Promise<Capability>

Parameters

resourceGroupName

string

String that represents an Azure resource group.

parentProviderNamespace

string

String that represents a resource provider namespace.

parentResourceType

string

String that represents a resource type.

parentResourceName

string

String that represents a resource name.

targetName

string

String that represents a Target resource name.

capabilityName

string

String that represents a Capability resource name.

capability
Capability

Capability resource to be created or updated.

options
CapabilitiesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Capability>

delete(string, string, string, string, string, string, CapabilitiesDeleteOptionalParams)

Delete a Capability that extends a Target resource.

function delete(resourceGroupName: string, parentProviderNamespace: string, parentResourceType: string, parentResourceName: string, targetName: string, capabilityName: string, options?: CapabilitiesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

String that represents an Azure resource group.

parentProviderNamespace

string

String that represents a resource provider namespace.

parentResourceType

string

String that represents a resource type.

parentResourceName

string

String that represents a resource name.

targetName

string

String that represents a Target resource name.

capabilityName

string

String that represents a Capability resource name.

options
CapabilitiesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, string, string, string, CapabilitiesGetOptionalParams)

Get a Capability resource that extends a Target resource.

function get(resourceGroupName: string, parentProviderNamespace: string, parentResourceType: string, parentResourceName: string, targetName: string, capabilityName: string, options?: CapabilitiesGetOptionalParams): Promise<Capability>

Parameters

resourceGroupName

string

String that represents an Azure resource group.

parentProviderNamespace

string

String that represents a resource provider namespace.

parentResourceType

string

String that represents a resource type.

parentResourceName

string

String that represents a resource name.

targetName

string

String that represents a Target resource name.

capabilityName

string

String that represents a Capability resource name.

options
CapabilitiesGetOptionalParams

The options parameters.

Returns

Promise<Capability>

list(string, string, string, string, string, CapabilitiesListOptionalParams)

Get a list of Capability resources that extend a Target resource..

function list(resourceGroupName: string, parentProviderNamespace: string, parentResourceType: string, parentResourceName: string, targetName: string, options?: CapabilitiesListOptionalParams): PagedAsyncIterableIterator<Capability, Capability[], PageSettings>

Parameters

resourceGroupName

string

String that represents an Azure resource group.

parentProviderNamespace

string

String that represents a resource provider namespace.

parentResourceType

string

String that represents a resource type.

parentResourceName

string

String that represents a resource name.

targetName

string

String that represents a Target resource name.

options
CapabilitiesListOptionalParams

The options parameters.

Returns