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
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 dictionary
The following arguments are supported:
- Location string
- Organization
Id string - Subscription
Id string
- Location string
- Organization
Id string - Subscription
Id string
- location String
- organization
Id String - subscription
Id String
- location string
- organization
Id string - subscription
Id string
- location str
- organization_
id str - subscription_
id str
- location String
- organization
Id String - subscription
Id String
getSubscription Result
The following output properties are available:
- Auto
Renew boolEnabled - Represents that, if subscription will renew or end when the term ends.
- Create
Time string - Create time of the subscription.
- End
Time string - End time of the subscription.
- Name string
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- Seat
Count string - Optional. Number of seats in the subscription.
- Sku string
- SKU of subscription.
- Start
Time 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 string - Create time of the subscription.
- End
Time string - End time of the subscription.
- Name string
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- Seat
Count string - Optional. Number of seats in the subscription.
- Sku string
- SKU of subscription.
- Start
Time string - Start time of the subscription.
- State string
- The current state of the subscription.
- Type string
- Type of subscription.
- auto
Renew BooleanEnabled - Represents that, if subscription will renew or end when the term ends.
- create
Time String - Create time of the subscription.
- end
Time String - End time of the subscription.
- name String
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seat
Count String - Optional. Number of seats in the subscription.
- sku String
- SKU of subscription.
- start
Time String - Start time of the subscription.
- state String
- The current state of the subscription.
- type String
- Type of subscription.
- auto
Renew booleanEnabled - Represents that, if subscription will renew or end when the term ends.
- create
Time string - Create time of the subscription.
- end
Time string - End time of the subscription.
- name string
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seat
Count string - Optional. Number of seats in the subscription.
- sku string
- SKU of subscription.
- start
Time 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.
- auto
Renew BooleanEnabled - Represents that, if subscription will renew or end when the term ends.
- create
Time String - Create time of the subscription.
- end
Time String - End time of the subscription.
- name String
- Unique resource name of the Subscription. The name is ignored when creating a subscription.
- seat
Count String - Optional. Number of seats in the subscription.
- sku String
- SKU of subscription.
- start
Time 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