azure-native.chaos.getCapability
Explore with Pulumi AI
Get a Capability resource that extends a Target resource.
Uses Azure REST API version 2024-03-22-preview.
Other available API versions: 2023-04-15-preview, 2023-09-01-preview, 2023-10-27-preview, 2023-11-01, 2024-01-01, 2024-11-01-preview, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native chaos [ApiVersion]
. See the version guide for details.
Using getCapability
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getCapability(args: GetCapabilityArgs, opts?: InvokeOptions): Promise<GetCapabilityResult>
function getCapabilityOutput(args: GetCapabilityOutputArgs, opts?: InvokeOptions): Output<GetCapabilityResult>
def get_capability(capability_name: Optional[str] = None,
parent_provider_namespace: Optional[str] = None,
parent_resource_name: Optional[str] = None,
parent_resource_type: Optional[str] = None,
resource_group_name: Optional[str] = None,
target_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCapabilityResult
def get_capability_output(capability_name: Optional[pulumi.Input[str]] = None,
parent_provider_namespace: Optional[pulumi.Input[str]] = None,
parent_resource_name: Optional[pulumi.Input[str]] = None,
parent_resource_type: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
target_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCapabilityResult]
func LookupCapability(ctx *Context, args *LookupCapabilityArgs, opts ...InvokeOption) (*LookupCapabilityResult, error)
func LookupCapabilityOutput(ctx *Context, args *LookupCapabilityOutputArgs, opts ...InvokeOption) LookupCapabilityResultOutput
> Note: This function is named LookupCapability
in the Go SDK.
public static class GetCapability
{
public static Task<GetCapabilityResult> InvokeAsync(GetCapabilityArgs args, InvokeOptions? opts = null)
public static Output<GetCapabilityResult> Invoke(GetCapabilityInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCapabilityResult> getCapability(GetCapabilityArgs args, InvokeOptions options)
public static Output<GetCapabilityResult> getCapability(GetCapabilityArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:chaos:getCapability
arguments:
# arguments dictionary
The following arguments are supported:
- Capability
Name string - String that represents a Capability resource name.
- Parent
Provider stringNamespace - String that represents a resource provider namespace.
- Parent
Resource stringName - String that represents a resource name.
- Parent
Resource stringType - String that represents a resource type.
- Resource
Group stringName - String that represents an Azure resource group.
- Target
Name string - String that represents a Target resource name.
- Capability
Name string - String that represents a Capability resource name.
- Parent
Provider stringNamespace - String that represents a resource provider namespace.
- Parent
Resource stringName - String that represents a resource name.
- Parent
Resource stringType - String that represents a resource type.
- Resource
Group stringName - String that represents an Azure resource group.
- Target
Name string - String that represents a Target resource name.
- capability
Name String - String that represents a Capability resource name.
- parent
Provider StringNamespace - String that represents a resource provider namespace.
- parent
Resource StringName - String that represents a resource name.
- parent
Resource StringType - String that represents a resource type.
- resource
Group StringName - String that represents an Azure resource group.
- target
Name String - String that represents a Target resource name.
- capability
Name string - String that represents a Capability resource name.
- parent
Provider stringNamespace - String that represents a resource provider namespace.
- parent
Resource stringName - String that represents a resource name.
- parent
Resource stringType - String that represents a resource type.
- resource
Group stringName - String that represents an Azure resource group.
- target
Name string - String that represents a Target resource name.
- capability_
name str - String that represents a Capability resource name.
- parent_
provider_ strnamespace - String that represents a resource provider namespace.
- parent_
resource_ strname - String that represents a resource name.
- parent_
resource_ strtype - String that represents a resource type.
- resource_
group_ strname - String that represents an Azure resource group.
- target_
name str - String that represents a Target resource name.
- capability
Name String - String that represents a Capability resource name.
- parent
Provider StringNamespace - String that represents a resource provider namespace.
- parent
Resource StringName - String that represents a resource name.
- parent
Resource StringType - String that represents a resource type.
- resource
Group StringName - String that represents an Azure resource group.
- target
Name String - String that represents a Target resource name.
getCapability Result
The following output properties are available:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Pulumi.
Azure Native. Chaos. Outputs. Capability Properties Response - The properties of a capability resource.
- System
Data Pulumi.Azure Native. Chaos. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- Name string
- The name of the resource
- Properties
Capability
Properties Response - The properties of a capability resource.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties
Capability
Properties Response - The properties of a capability resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name string
- The name of the resource
- properties
Capability
Properties Response - The properties of a capability resource.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name str
- The name of the resource
- properties
Capability
Properties Response - The properties of a capability resource.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
- name String
- The name of the resource
- properties Property Map
- The properties of a capability resource.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
CapabilityPropertiesResponse
- Description string
- Localized string of the description.
- Parameters
Schema string - URL to retrieve JSON schema of the Capability parameters.
- Publisher string
- String of the Publisher that this Capability extends.
- Target
Type string - String of the Target Type that this Capability extends.
- Urn string
- String of the URN for this Capability Type.
- Description string
- Localized string of the description.
- Parameters
Schema string - URL to retrieve JSON schema of the Capability parameters.
- Publisher string
- String of the Publisher that this Capability extends.
- Target
Type string - String of the Target Type that this Capability extends.
- Urn string
- String of the URN for this Capability Type.
- description String
- Localized string of the description.
- parameters
Schema String - URL to retrieve JSON schema of the Capability parameters.
- publisher String
- String of the Publisher that this Capability extends.
- target
Type String - String of the Target Type that this Capability extends.
- urn String
- String of the URN for this Capability Type.
- description string
- Localized string of the description.
- parameters
Schema string - URL to retrieve JSON schema of the Capability parameters.
- publisher string
- String of the Publisher that this Capability extends.
- target
Type string - String of the Target Type that this Capability extends.
- urn string
- String of the URN for this Capability Type.
- description str
- Localized string of the description.
- parameters_
schema str - URL to retrieve JSON schema of the Capability parameters.
- publisher str
- String of the Publisher that this Capability extends.
- target_
type str - String of the Target Type that this Capability extends.
- urn str
- String of the URN for this Capability Type.
- description String
- Localized string of the description.
- parameters
Schema String - URL to retrieve JSON schema of the Capability parameters.
- publisher String
- String of the Publisher that this Capability extends.
- target
Type String - String of the Target Type that this Capability extends.
- urn String
- String of the URN for this Capability Type.
SystemDataResponse
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0