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.azurestack.getCustomerSubscription
Explore with Pulumi AI
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
Returns the specified product. Azure REST API version: 2022-06-01.
Other available API versions: 2020-06-01-preview.
Using getCustomerSubscription
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 getCustomerSubscription(args: GetCustomerSubscriptionArgs, opts?: InvokeOptions): Promise<GetCustomerSubscriptionResult>
function getCustomerSubscriptionOutput(args: GetCustomerSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetCustomerSubscriptionResult>
def get_customer_subscription(customer_subscription_name: Optional[str] = None,
registration_name: Optional[str] = None,
resource_group: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetCustomerSubscriptionResult
def get_customer_subscription_output(customer_subscription_name: Optional[pulumi.Input[str]] = None,
registration_name: Optional[pulumi.Input[str]] = None,
resource_group: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetCustomerSubscriptionResult]
func LookupCustomerSubscription(ctx *Context, args *LookupCustomerSubscriptionArgs, opts ...InvokeOption) (*LookupCustomerSubscriptionResult, error)
func LookupCustomerSubscriptionOutput(ctx *Context, args *LookupCustomerSubscriptionOutputArgs, opts ...InvokeOption) LookupCustomerSubscriptionResultOutput
> Note: This function is named LookupCustomerSubscription
in the Go SDK.
public static class GetCustomerSubscription
{
public static Task<GetCustomerSubscriptionResult> InvokeAsync(GetCustomerSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetCustomerSubscriptionResult> Invoke(GetCustomerSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetCustomerSubscriptionResult> getCustomerSubscription(GetCustomerSubscriptionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:azurestack:getCustomerSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- Customer
Subscription stringName - Name of the product.
- Registration
Name string - Name of the Azure Stack registration.
- Resource
Group string - Name of the resource group.
- Customer
Subscription stringName - Name of the product.
- Registration
Name string - Name of the Azure Stack registration.
- Resource
Group string - Name of the resource group.
- customer
Subscription StringName - Name of the product.
- registration
Name String - Name of the Azure Stack registration.
- resource
Group String - Name of the resource group.
- customer
Subscription stringName - Name of the product.
- registration
Name string - Name of the Azure Stack registration.
- resource
Group string - Name of the resource group.
- customer_
subscription_ strname - Name of the product.
- registration_
name str - Name of the Azure Stack registration.
- resource_
group str - Name of the resource group.
- customer
Subscription StringName - Name of the product.
- registration
Name String - Name of the Azure Stack registration.
- resource
Group String - Name of the resource group.
getCustomerSubscription Result
The following output properties are available:
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
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