1. Packages
  2. Azure Native
  3. API Docs
  4. visualstudio
  5. getExtension
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

azure-native.visualstudio.getExtension

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi

    Gets the details of an extension associated with a Visual Studio Team Services account resource. Azure REST API version: 2017-11-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
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.47.1 published on Monday, Jun 24, 2024 by Pulumi