Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

getSubscription

Gets details for an API product 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(developer_id: Optional[str] = None,
                     organization_id: Optional[str] = None,
                     subscription_id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetSubscriptionResult
def get_subscription_output(developer_id: 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)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: google-native:apigee/v1:getSubscription
  arguments:
    # arguments dictionary

The following arguments are supported:

getSubscription Result

The following output properties are available:

Apiproduct string

Name of the API product for which the developer is purchasing a subscription.

CreatedAt string

Time when the API product subscription was created in milliseconds since epoch.

EndTime string

Time when the API product subscription ends in milliseconds since epoch.

LastModifiedAt string

Time when the API product subscription was last modified in milliseconds since epoch.

Name string

Name of the API product subscription.

StartTime string

Time when the API product subscription starts in milliseconds since epoch.

Apiproduct string

Name of the API product for which the developer is purchasing a subscription.

CreatedAt string

Time when the API product subscription was created in milliseconds since epoch.

EndTime string

Time when the API product subscription ends in milliseconds since epoch.

LastModifiedAt string

Time when the API product subscription was last modified in milliseconds since epoch.

Name string

Name of the API product subscription.

StartTime string

Time when the API product subscription starts in milliseconds since epoch.

apiproduct String

Name of the API product for which the developer is purchasing a subscription.

createdAt String

Time when the API product subscription was created in milliseconds since epoch.

endTime String

Time when the API product subscription ends in milliseconds since epoch.

lastModifiedAt String

Time when the API product subscription was last modified in milliseconds since epoch.

name String

Name of the API product subscription.

startTime String

Time when the API product subscription starts in milliseconds since epoch.

apiproduct string

Name of the API product for which the developer is purchasing a subscription.

createdAt string

Time when the API product subscription was created in milliseconds since epoch.

endTime string

Time when the API product subscription ends in milliseconds since epoch.

lastModifiedAt string

Time when the API product subscription was last modified in milliseconds since epoch.

name string

Name of the API product subscription.

startTime string

Time when the API product subscription starts in milliseconds since epoch.

apiproduct str

Name of the API product for which the developer is purchasing a subscription.

created_at str

Time when the API product subscription was created in milliseconds since epoch.

end_time str

Time when the API product subscription ends in milliseconds since epoch.

last_modified_at str

Time when the API product subscription was last modified in milliseconds since epoch.

name str

Name of the API product subscription.

start_time str

Time when the API product subscription starts in milliseconds since epoch.

apiproduct String

Name of the API product for which the developer is purchasing a subscription.

createdAt String

Time when the API product subscription was created in milliseconds since epoch.

endTime String

Time when the API product subscription ends in milliseconds since epoch.

lastModifiedAt String

Time when the API product subscription was last modified in milliseconds since epoch.

name String

Name of the API product subscription.

startTime String

Time when the API product subscription starts in milliseconds since epoch.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0