azure-native.visualstudio.getExtension
Explore with Pulumi AI
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:
- Account
Resource stringName The name of the Visual Studio Team Services account resource.
- Extension
Resource stringName The name of the extension.
- Resource
Group stringName Name of the resource group within the Azure subscription.
- Account
Resource stringName The name of the Visual Studio Team Services account resource.
- Extension
Resource stringName The name of the extension.
- Resource
Group stringName Name of the resource group within the Azure subscription.
- account
Resource StringName The name of the Visual Studio Team Services account resource.
- extension
Resource StringName The name of the extension.
- resource
Group StringName Name of the resource group within the Azure subscription.
- account
Resource stringName The name of the Visual Studio Team Services account resource.
- extension
Resource stringName The name of the extension.
- resource
Group stringName Name of the resource group within the Azure subscription.
- account_
resource_ strname The name of the Visual Studio Team Services account resource.
- extension_
resource_ strname The name of the extension.
- resource_
group_ strname Name of the resource group within the Azure subscription.
- account
Resource StringName The name of the Visual Studio Team Services account resource.
- extension
Resource StringName The name of the extension.
- resource
Group StringName 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.
Azure Native. Visual Studio. Outputs. Extension Resource Plan Response The extension plan that was purchased.
- 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
Extension
Resource Plan Response The extension plan that was purchased.
- 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
Extension
Resource Plan Response The extension plan that was purchased.
- 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
Extension
Resource Plan Response The extension plan that was purchased.
- {[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
Extension
Resource Plan Response The extension plan that was purchased.
- 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.
- Map<String>
Resource tags.
Supporting Types
ExtensionResourcePlanResponse
- Name string
Name of the plan.
- Product string
Product name.
- Promotion
Code 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.
- Promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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.
- promotion
Code 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