1. Packages
  2. Azure Native v2
  3. API Docs
  4. visualstudio
  5. getExtension
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi

azure-native-v2.visualstudio.getExtension

Explore with Pulumi AI

These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 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>
Copy
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]
Copy
func LookupExtension(ctx *Context, args *LookupExtensionArgs, opts ...InvokeOption) (*LookupExtensionResult, error)
func LookupExtensionOutput(ctx *Context, args *LookupExtensionOutputArgs, opts ...InvokeOption) LookupExtensionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetExtensionResult> getExtension(GetExtensionArgs args, InvokeOptions options)
public static Output<GetExtensionResult> getExtension(GetExtensionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:visualstudio:getExtension
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Visual Studio Team Services account resource.
ExtensionResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the extension.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
AccountResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Visual Studio Team Services account resource.
ExtensionResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the extension.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
accountResourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Visual Studio Team Services account resource.
extensionResourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the extension.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group within the Azure subscription.
accountResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the Visual Studio Team Services account resource.
extensionResourceName
This property is required.
Changes to this property will trigger replacement.
string
The name of the extension.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group within the Azure subscription.
account_resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the Visual Studio Team Services account resource.
extension_resource_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the extension.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group within the Azure subscription.
accountResourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the Visual Studio Team Services account resource.
extensionResourceName
This property is required.
Changes to this property will trigger replacement.
String
The name of the extension.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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-v2 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v2. We recommenend using the latest version, Azure Native v3.
Azure Native v2 v2.90.0 published on Thursday, Mar 27, 2025 by Pulumi