1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  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.apigee/v1.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 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>
Copy
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]
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:apigee/v1:getSubscription
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

DeveloperId This property is required. string
OrganizationId This property is required. string
SubscriptionId This property is required. string
DeveloperId This property is required. string
OrganizationId This property is required. string
SubscriptionId This property is required. string
developerId This property is required. String
organizationId This property is required. String
subscriptionId This property is required. String
developerId This property is required. string
organizationId This property is required. string
subscriptionId This property is required. string
developer_id This property is required. str
organization_id This property is required. str
subscription_id This property is required. str
developerId 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:

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
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