1. Packages
  2. Google Cloud Native
  3. API Docs
  4. apigee
  5. apigee/v1
  6. Subscription

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.apigee/v1.Subscription

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

    Creates a subscription to an API product. Auto-naming is currently not supported for this resource. Note - this resource’s API doesn’t support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.

    Create Subscription Resource

    new Subscription(name: string, args: SubscriptionArgs, opts?: CustomResourceOptions);
    @overload
    def Subscription(resource_name: str,
                     opts: Optional[ResourceOptions] = None,
                     apiproduct: Optional[str] = None,
                     developer_id: Optional[str] = None,
                     end_time: Optional[str] = None,
                     organization_id: Optional[str] = None,
                     start_time: Optional[str] = None)
    @overload
    def Subscription(resource_name: str,
                     args: SubscriptionArgs,
                     opts: Optional[ResourceOptions] = None)
    func NewSubscription(ctx *Context, name string, args SubscriptionArgs, opts ...ResourceOption) (*Subscription, error)
    public Subscription(string name, SubscriptionArgs args, CustomResourceOptions? opts = null)
    public Subscription(String name, SubscriptionArgs args)
    public Subscription(String name, SubscriptionArgs args, CustomResourceOptions options)
    
    type: google-native:apigee/v1:Subscription
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args SubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args SubscriptionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args SubscriptionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SubscriptionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SubscriptionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Subscription Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Subscription resource accepts the following input properties:

    DeveloperId string
    OrganizationId string
    Apiproduct string

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

    EndTime string

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

    StartTime string

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

    DeveloperId string
    OrganizationId string
    Apiproduct string

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

    EndTime string

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

    StartTime string

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

    developerId String
    organizationId String
    apiproduct String

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

    endTime String

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

    startTime String

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

    developerId string
    organizationId string
    apiproduct string

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

    endTime string

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

    startTime string

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

    developer_id str
    organization_id str
    apiproduct str

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

    end_time str

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

    start_time str

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

    developerId String
    organizationId String
    apiproduct String

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

    endTime String

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

    startTime String

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

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Subscription resource produces the following output properties:

    CreatedAt string

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

    Id string

    The provider-assigned unique ID for this managed resource.

    LastModifiedAt string

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

    Name string

    Name of the API product subscription.

    CreatedAt string

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

    Id string

    The provider-assigned unique ID for this managed resource.

    LastModifiedAt string

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

    Name string

    Name of the API product subscription.

    createdAt String

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

    id String

    The provider-assigned unique ID for this managed resource.

    lastModifiedAt String

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

    name String

    Name of the API product subscription.

    createdAt string

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

    id string

    The provider-assigned unique ID for this managed resource.

    lastModifiedAt string

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

    name string

    Name of the API product subscription.

    created_at str

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

    id str

    The provider-assigned unique ID for this managed resource.

    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.

    createdAt String

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

    id String

    The provider-assigned unique ID for this managed resource.

    lastModifiedAt String

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

    name String

    Name of the API product subscription.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi