1. Packages
  2. Google Cloud Native
  3. API Docs
  4. beyondcorp
  5. beyondcorp/v1alpha
  6. 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

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>
Copy
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]
Copy
func LookupSubscription(ctx *Context, args *LookupSubscriptionArgs, opts ...InvokeOption) (*LookupSubscriptionResult, error)
func LookupSubscriptionOutput(ctx *Context, args *LookupSubscriptionOutputArgs, opts ...InvokeOption) LookupSubscriptionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetSubscriptionResult> getSubscription(GetSubscriptionArgs args, InvokeOptions options)
public static Output<GetSubscriptionResult> getSubscription(GetSubscriptionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:beyondcorp/v1alpha:getSubscription
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Location This property is required. string
OrganizationId This property is required. string
SubscriptionId This property is required. string
Location This property is required. string
OrganizationId This property is required. string
SubscriptionId This property is required. string
location This property is required. String
organizationId This property is required. String
subscriptionId This property is required. String
location This property is required. string
organizationId This property is required. string
subscriptionId This property is required. string
location This property is required. str
organization_id This property is required. str
subscription_id This property is required. str
location This property is required. String
organizationId This property is required. String
subscriptionId This property is required. String

getSubscription Result

The following output properties are available:

AutoRenewEnabled bool
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.
AutoRenewEnabled bool
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.
autoRenewEnabled Boolean
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.
autoRenewEnabled boolean
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_enabled bool
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.
autoRenewEnabled Boolean
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