Azure Native

Pulumi Official
Package maintained by Pulumi
v1.67.0 published on Tuesday, Jul 12, 2022 by Pulumi

getExtension

The response to an extension resource GET request. API Version: 2014-04-01-preview.

Using getExtension

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 getExtension(args: GetExtensionArgs, opts?: InvokeOptions): Promise<GetExtensionResult>
function getExtensionOutput(args: GetExtensionOutputArgs, opts?: InvokeOptions): Output<GetExtensionResult>
def get_extension(account_resource_name: Optional[str] = None,
                  extension_resource_name: Optional[str] = None,
                  resource_group_name: Optional[str] = None,
                  opts: Optional[InvokeOptions] = None) -> GetExtensionResult
def get_extension_output(account_resource_name: Optional[pulumi.Input[str]] = None,
                  extension_resource_name: Optional[pulumi.Input[str]] = None,
                  resource_group_name: Optional[pulumi.Input[str]] = None,
                  opts: Optional[InvokeOptions] = None) -> Output[GetExtensionResult]
func LookupExtension(ctx *Context, args *LookupExtensionArgs, opts ...InvokeOption) (*LookupExtensionResult, error)
func LookupExtensionOutput(ctx *Context, args *LookupExtensionOutputArgs, opts ...InvokeOption) LookupExtensionResultOutput

> Note: This function is named LookupExtension in the Go SDK.

public static class GetExtension 
{
    public static Task<GetExtensionResult> InvokeAsync(GetExtensionArgs args, InvokeOptions? opts = null)
    public static Output<GetExtensionResult> Invoke(GetExtensionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetExtensionResult> getExtension(GetExtensionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: azure-native:visualstudio:getExtension
  Arguments:
    # Arguments dictionary

The following arguments are supported:

AccountResourceName string

The name of the Visual Studio Team Services account resource.

ExtensionResourceName string

The name of the extension.

ResourceGroupName string

Name of the resource group within the Azure subscription.

AccountResourceName string

The name of the Visual Studio Team Services account resource.

ExtensionResourceName string

The name of the extension.

ResourceGroupName string

Name of the resource group within the Azure subscription.

accountResourceName String

The name of the Visual Studio Team Services account resource.

extensionResourceName String

The name of the extension.

resourceGroupName String

Name of the resource group within the Azure subscription.

accountResourceName string

The name of the Visual Studio Team Services account resource.

extensionResourceName string

The name of the extension.

resourceGroupName string

Name of the resource group within the Azure subscription.

account_resource_name str

The name of the Visual Studio Team Services account resource.

extension_resource_name str

The name of the extension.

resource_group_name str

Name of the resource group within the Azure subscription.

accountResourceName String

The name of the Visual Studio Team Services account resource.

extensionResourceName String

The name of the extension.

resourceGroupName String

Name of the resource group within the Azure subscription.

getExtension Result

The following output properties are available:

Id string

Unique identifier of the resource.

Name string

Resource name.

Properties Dictionary<string, string>

Resource properties.

Type string

Resource type.

Location string

Resource location.

Plan Pulumi.AzureNative.VisualStudio.Outputs.ExtensionResourcePlanResponse

The extension plan that was purchased.

Tags Dictionary<string, string>

Resource tags.

Id string

Unique identifier of the resource.

Name string

Resource name.

Properties map[string]string

Resource properties.

Type string

Resource type.

Location string

Resource location.

Plan ExtensionResourcePlanResponse

The extension plan that was purchased.

Tags map[string]string

Resource tags.

id String

Unique identifier of the resource.

name String

Resource name.

properties Map<String,String>

Resource properties.

type String

Resource type.

location String

Resource location.

plan ExtensionResourcePlanResponse

The extension plan that was purchased.

tags Map<String,String>

Resource tags.

id string

Unique identifier of the resource.

name string

Resource name.

properties {[key: string]: string}

Resource properties.

type string

Resource type.

location string

Resource location.

plan ExtensionResourcePlanResponse

The extension plan that was purchased.

tags {[key: string]: string}

Resource tags.

id str

Unique identifier of the resource.

name str

Resource name.

properties Mapping[str, str]

Resource properties.

type str

Resource type.

location str

Resource location.

plan ExtensionResourcePlanResponse

The extension plan that was purchased.

tags Mapping[str, str]

Resource tags.

id String

Unique identifier of the resource.

name String

Resource name.

properties Map<String>

Resource properties.

type String

Resource type.

location String

Resource location.

plan Property Map

The extension plan that was purchased.

tags Map<String>

Resource tags.

Supporting Types

ExtensionResourcePlanResponse

Name string

Name of the plan.

Product string

Product name.

PromotionCode string

Optional: the promotion code associated with the plan.

Publisher string

Name of the extension publisher.

Version string

A string that uniquely identifies the plan version.

Name string

Name of the plan.

Product string

Product name.

PromotionCode string

Optional: the promotion code associated with the plan.

Publisher string

Name of the extension publisher.

Version string

A string that uniquely identifies the plan version.

name String

Name of the plan.

product String

Product name.

promotionCode String

Optional: the promotion code associated with the plan.

publisher String

Name of the extension publisher.

version String

A string that uniquely identifies the plan version.

name string

Name of the plan.

product string

Product name.

promotionCode string

Optional: the promotion code associated with the plan.

publisher string

Name of the extension publisher.

version string

A string that uniquely identifies the plan version.

name str

Name of the plan.

product str

Product name.

promotion_code str

Optional: the promotion code associated with the plan.

publisher str

Name of the extension publisher.

version str

A string that uniquely identifies the plan version.

name String

Name of the plan.

product String

Product name.

promotionCode String

Optional: the promotion code associated with the plan.

publisher String

Name of the extension publisher.

version String

A string that uniquely identifies the plan version.

Package Details

Repository
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0