1. Packages
  2. Azure Classic
  3. API Docs
  4. core
  5. getSubscriptionTemplateDeployment

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

azure.core.getSubscriptionTemplateDeployment

Explore with Pulumi AI

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi

Use this data source to access information about an existing Subscription Template Deployment.

Using getSubscriptionTemplateDeployment

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 getSubscriptionTemplateDeployment(args: GetSubscriptionTemplateDeploymentArgs, opts?: InvokeOptions): Promise<GetSubscriptionTemplateDeploymentResult>
function getSubscriptionTemplateDeploymentOutput(args: GetSubscriptionTemplateDeploymentOutputArgs, opts?: InvokeOptions): Output<GetSubscriptionTemplateDeploymentResult>
Copy
def get_subscription_template_deployment(name: Optional[str] = None,
                                         opts: Optional[InvokeOptions] = None) -> GetSubscriptionTemplateDeploymentResult
def get_subscription_template_deployment_output(name: Optional[pulumi.Input[str]] = None,
                                         opts: Optional[InvokeOptions] = None) -> Output[GetSubscriptionTemplateDeploymentResult]
Copy
func LookupSubscriptionTemplateDeployment(ctx *Context, args *LookupSubscriptionTemplateDeploymentArgs, opts ...InvokeOption) (*LookupSubscriptionTemplateDeploymentResult, error)
func LookupSubscriptionTemplateDeploymentOutput(ctx *Context, args *LookupSubscriptionTemplateDeploymentOutputArgs, opts ...InvokeOption) LookupSubscriptionTemplateDeploymentResultOutput
Copy

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

public static class GetSubscriptionTemplateDeployment 
{
    public static Task<GetSubscriptionTemplateDeploymentResult> InvokeAsync(GetSubscriptionTemplateDeploymentArgs args, InvokeOptions? opts = null)
    public static Output<GetSubscriptionTemplateDeploymentResult> Invoke(GetSubscriptionTemplateDeploymentInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetSubscriptionTemplateDeploymentResult> getSubscriptionTemplateDeployment(GetSubscriptionTemplateDeploymentArgs args, InvokeOptions options)
public static Output<GetSubscriptionTemplateDeploymentResult> getSubscriptionTemplateDeployment(GetSubscriptionTemplateDeploymentArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure:core/getSubscriptionTemplateDeployment:getSubscriptionTemplateDeployment
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name This property is required. string
The name of this Subscription Template Deployment.
Name This property is required. string
The name of this Subscription Template Deployment.
name This property is required. String
The name of this Subscription Template Deployment.
name This property is required. string
The name of this Subscription Template Deployment.
name This property is required. str
The name of this Subscription Template Deployment.
name This property is required. String
The name of this Subscription Template Deployment.

getSubscriptionTemplateDeployment Result

The following output properties are available:

Id string
The provider-assigned unique ID for this managed resource.
Name string
OutputContent string
The JSON Content of the Outputs of the ARM Template Deployment.
Id string
The provider-assigned unique ID for this managed resource.
Name string
OutputContent string
The JSON Content of the Outputs of the ARM Template Deployment.
id String
The provider-assigned unique ID for this managed resource.
name String
outputContent String
The JSON Content of the Outputs of the ARM Template Deployment.
id string
The provider-assigned unique ID for this managed resource.
name string
outputContent string
The JSON Content of the Outputs of the ARM Template Deployment.
id str
The provider-assigned unique ID for this managed resource.
name str
output_content str
The JSON Content of the Outputs of the ARM Template Deployment.
id String
The provider-assigned unique ID for this managed resource.
name String
outputContent String
The JSON Content of the Outputs of the ARM Template Deployment.

Package Details

Repository
Azure Classic pulumi/pulumi-azure
License
Apache-2.0
Notes
This Pulumi package is based on the azurerm Terraform Provider.

We recommend using Azure Native.

Azure v6.22.0 published on Tuesday, Apr 1, 2025 by Pulumi