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>
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:
- Developer
Id string - Organization
Id string - Subscription
Id string
- Developer
Id string - Organization
Id string - Subscription
Id string
- developer
Id String - organization
Id String - subscription
Id String
- developer
Id string - organization
Id string - subscription
Id string
- developer_
id str - organization_
id str - subscription_
id str
- developer
Id String - organization
Id String - subscription
Id String
getSubscription Result
The following output properties are available:
- Apiproduct string
- Name of the API product for which the developer is purchasing a subscription.
- Created
At string - Time when the API product subscription was created in milliseconds since epoch.
- End
Time string - Time when the API product subscription ends in milliseconds since epoch.
- Last
Modified stringAt - Time when the API product subscription was last modified in milliseconds since epoch.
- Name string
- Name of the API product subscription.
- Start
Time 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.
- Created
At string - Time when the API product subscription was created in milliseconds since epoch.
- End
Time string - Time when the API product subscription ends in milliseconds since epoch.
- Last
Modified stringAt - Time when the API product subscription was last modified in milliseconds since epoch.
- Name string
- Name of the API product subscription.
- Start
Time 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.
- created
At String - Time when the API product subscription was created in milliseconds since epoch.
- end
Time String - Time when the API product subscription ends in milliseconds since epoch.
- last
Modified StringAt - Time when the API product subscription was last modified in milliseconds since epoch.
- name String
- Name of the API product subscription.
- start
Time 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.
- created
At string - Time when the API product subscription was created in milliseconds since epoch.
- end
Time string - Time when the API product subscription ends in milliseconds since epoch.
- last
Modified stringAt - Time when the API product subscription was last modified in milliseconds since epoch.
- name string
- Name of the API product subscription.
- start
Time 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_ strat - 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.
- created
At String - Time when the API product subscription was created in milliseconds since epoch.
- end
Time String - Time when the API product subscription ends in milliseconds since epoch.
- last
Modified StringAt - Time when the API product subscription was last modified in milliseconds since epoch.
- name String
- Name of the API product subscription.
- start
Time 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