Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.beyondcorp/v1alpha.getSubscription
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Gets details of a single Subscription.
Using getSubscription
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 getSubscription(args: GetSubscriptionArgs, opts?: InvokeOptions): Promise<GetSubscriptionResult>
function getSubscriptionOutput(args: GetSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetSubscriptionResult>def get_subscription(location: Optional[str] = None,
                     organization_id: Optional[str] = None,
                     subscription_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetSubscriptionResult
def get_subscription_output(location: Optional[pulumi.Input[str]] = None,
                     organization_id: Optional[pulumi.Input[str]] = None,
                     subscription_id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetSubscriptionResult]func LookupSubscription(ctx *Context, args *LookupSubscriptionArgs, opts ...InvokeOption) (*LookupSubscriptionResult, error)
func LookupSubscriptionOutput(ctx *Context, args *LookupSubscriptionOutputArgs, opts ...InvokeOption) LookupSubscriptionResultOutput> Note: This function is named LookupSubscription in the Go SDK.
public static class GetSubscription 
{
    public static Task<GetSubscriptionResult> InvokeAsync(GetSubscriptionArgs args, InvokeOptions? opts = null)
    public static Output<GetSubscriptionResult> Invoke(GetSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSubscriptionResult> getSubscription(GetSubscriptionArgs args, InvokeOptions options)
public static Output<GetSubscriptionResult> getSubscription(GetSubscriptionArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:beyondcorp/v1alpha:getSubscription
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Location string
- OrganizationId string
- SubscriptionId string
- Location string
- OrganizationId string
- SubscriptionId string
- location String
- organizationId String
- subscriptionId String
- location string
- organizationId string
- subscriptionId string
- location str
- organization_id str
- subscription_id str
- location String
- organizationId String
- subscriptionId String
getSubscription Result
The following output properties are available:
- AutoRenew boolEnabled 
- Represents that, if subscription will renew or end when the term ends.
- CreateTime string
- Create time of the subscription.
- EndTime string
- End time of the subscription.
- Name string
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- SeatCount string
- Optional. Number of seats in the subscription.
- Sku string
- SKU of subscription.
- StartTime string
- Start time of the subscription.
- State string
- The current state of the subscription.
- Type string
- Type of subscription.
- AutoRenew boolEnabled 
- Represents that, if subscription will renew or end when the term ends.
- CreateTime string
- Create time of the subscription.
- EndTime string
- End time of the subscription.
- Name string
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- SeatCount string
- Optional. Number of seats in the subscription.
- Sku string
- SKU of subscription.
- StartTime string
- Start time of the subscription.
- State string
- The current state of the subscription.
- Type string
- Type of subscription.
- autoRenew BooleanEnabled 
- Represents that, if subscription will renew or end when the term ends.
- createTime String
- Create time of the subscription.
- endTime String
- End time of the subscription.
- name String
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seatCount String
- Optional. Number of seats in the subscription.
- sku String
- SKU of subscription.
- startTime String
- Start time of the subscription.
- state String
- The current state of the subscription.
- type String
- Type of subscription.
- autoRenew booleanEnabled 
- Represents that, if subscription will renew or end when the term ends.
- createTime string
- Create time of the subscription.
- endTime string
- End time of the subscription.
- name string
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seatCount string
- Optional. Number of seats in the subscription.
- sku string
- SKU of subscription.
- startTime string
- Start time of the subscription.
- state string
- The current state of the subscription.
- type string
- Type of subscription.
- auto_renew_ boolenabled 
- Represents that, if subscription will renew or end when the term ends.
- create_time str
- Create time of the subscription.
- end_time str
- End time of the subscription.
- name str
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seat_count str
- Optional. Number of seats in the subscription.
- sku str
- SKU of subscription.
- start_time str
- Start time of the subscription.
- state str
- The current state of the subscription.
- type str
- Type of subscription.
- autoRenew BooleanEnabled 
- Represents that, if subscription will renew or end when the term ends.
- createTime String
- Create time of the subscription.
- endTime String
- End time of the subscription.
- name String
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seatCount String
- Optional. Number of seats in the subscription.
- sku String
- SKU of subscription.
- startTime String
- Start time of the subscription.
- state String
- The current state of the subscription.
- type String
- Type of subscription.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi