azure-native.chaos.getTarget
Get a Target resource that extends a tracked regional resource. API Version: 2021-09-15-preview.
Using getTarget
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 getTarget(args: GetTargetArgs, opts?: InvokeOptions): Promise<GetTargetResult>
function getTargetOutput(args: GetTargetOutputArgs, opts?: InvokeOptions): Output<GetTargetResult>
def get_target(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) -> GetTargetResult
def get_target_output(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[GetTargetResult]
func LookupTarget(ctx *Context, args *LookupTargetArgs, opts ...InvokeOption) (*LookupTargetResult, error)
func LookupTargetOutput(ctx *Context, args *LookupTargetOutputArgs, opts ...InvokeOption) LookupTargetResultOutput
> Note: This function is named LookupTarget
in the Go SDK.
public static class GetTarget
{
public static Task<GetTargetResult> InvokeAsync(GetTargetArgs args, InvokeOptions? opts = null)
public static Output<GetTargetResult> Invoke(GetTargetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTargetResult> getTarget(GetTargetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:chaos:getTarget
arguments:
# arguments dictionary
The following arguments are supported:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getTarget Result
The following output properties are available:
- Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
The name of the resource
- Properties object
The properties of the target resource.
- System
Data Pulumi.Azure Native. Chaos. Outputs. System Data Response The system metadata of the target resource.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Location string
Location of the target resource.
- Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
The name of the resource
- Properties interface{}
The properties of the target resource.
- System
Data SystemData Response The system metadata of the target resource.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Location string
Location of the target resource.
- id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
The name of the resource
- properties Object
The properties of the target resource.
- system
Data SystemData Response The system metadata of the target resource.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- location String
Location of the target resource.
- id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
The name of the resource
- properties any
The properties of the target resource.
- system
Data SystemData Response The system metadata of the target resource.
- type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- location string
Location of the target resource.
- id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
The name of the resource
- properties Any
The properties of the target resource.
- system_
data SystemData Response The system metadata of the target resource.
- type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- location str
Location of the target resource.
- id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
The name of the resource
- properties Any
The properties of the target resource.
- system
Data Property Map The system metadata of the target resource.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- location String
Location of the target resource.
Supporting Types
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