gcp logo
Google Cloud Classic v6.48.0, Jan 24 23

gcp.firebase.AppleApp

Import

AppleApp can be imported using any of these accepted formats

 $ pulumi import gcp:firebase/appleApp:AppleApp default projects/{{project}}/iosApps/{{appId}}
 $ pulumi import gcp:firebase/appleApp:AppleApp default {{project}}/{{appId}}
 $ pulumi import gcp:firebase/appleApp:AppleApp default iosApps/{{appId}}
 $ pulumi import gcp:firebase/appleApp:AppleApp default {{appId}}

Example Usage

Firebase Apple App Basic

using System.Collections.Generic;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var @default = new Gcp.Firebase.AppleApp("default", new()
    {
        Project = "my-project-name",
        DisplayName = "Display Name Basic",
        BundleId = "apple.app.12345",
    }, new CustomResourceOptions
    {
        Provider = google_beta,
    });

});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAppleApp(ctx, "default", &firebase.AppleAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Basic"),
			BundleId:    pulumi.String("apple.app.12345"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.firebase.AppleApp;
import com.pulumi.gcp.firebase.AppleAppArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var default_ = new AppleApp("default", AppleAppArgs.builder()        
            .project("my-project-name")
            .displayName("Display Name Basic")
            .bundleId("apple.app.12345")
            .build(), CustomResourceOptions.builder()
                .provider(google_beta)
                .build());

    }
}
import pulumi
import pulumi_gcp as gcp

default = gcp.firebase.AppleApp("default",
    project="my-project-name",
    display_name="Display Name Basic",
    bundle_id="apple.app.12345",
    opts=pulumi.ResourceOptions(provider=google_beta))
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const _default = new gcp.firebase.AppleApp("default", {
    project: "my-project-name",
    displayName: "Display Name Basic",
    bundleId: "apple.app.12345",
}, {
    provider: google_beta,
});
resources:
  default:
    type: gcp:firebase:AppleApp
    properties:
      project: my-project-name
      displayName: Display Name Basic
      bundleId: apple.app.12345
    options:
      provider: ${["google-beta"]}

Firebase Apple App Full

using System.Collections.Generic;
using Pulumi;
using Gcp = Pulumi.Gcp;

return await Deployment.RunAsync(() => 
{
    var full = new Gcp.Firebase.AppleApp("full", new()
    {
        Project = "my-project-name",
        DisplayName = "Display Name Full",
        BundleId = "apple.app.12345",
        AppStoreId = "12345",
        TeamId = "9987654321",
    }, new CustomResourceOptions
    {
        Provider = google_beta,
    });

});
package main

import (
	"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/firebase"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := firebase.NewAppleApp(ctx, "full", &firebase.AppleAppArgs{
			Project:     pulumi.String("my-project-name"),
			DisplayName: pulumi.String("Display Name Full"),
			BundleId:    pulumi.String("apple.app.12345"),
			AppStoreId:  pulumi.String("12345"),
			TeamId:      pulumi.String("9987654321"),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.firebase.AppleApp;
import com.pulumi.gcp.firebase.AppleAppArgs;
import com.pulumi.resources.CustomResourceOptions;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var full = new AppleApp("full", AppleAppArgs.builder()        
            .project("my-project-name")
            .displayName("Display Name Full")
            .bundleId("apple.app.12345")
            .appStoreId("12345")
            .teamId("9987654321")
            .build(), CustomResourceOptions.builder()
                .provider(google_beta)
                .build());

    }
}
import pulumi
import pulumi_gcp as gcp

full = gcp.firebase.AppleApp("full",
    project="my-project-name",
    display_name="Display Name Full",
    bundle_id="apple.app.12345",
    app_store_id="12345",
    team_id="9987654321",
    opts=pulumi.ResourceOptions(provider=google_beta))
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";

const full = new gcp.firebase.AppleApp("full", {
    project: "my-project-name",
    displayName: "Display Name Full",
    bundleId: "apple.app.12345",
    appStoreId: "12345",
    teamId: "9987654321",
}, {
    provider: google_beta,
});
resources:
  full:
    type: gcp:firebase:AppleApp
    properties:
      project: my-project-name
      displayName: Display Name Full
      bundleId: apple.app.12345
      appStoreId: '12345'
      teamId: '9987654321'
    options:
      provider: ${["google-beta"]}

Create AppleApp Resource

new AppleApp(name: string, args: AppleAppArgs, opts?: CustomResourceOptions);
@overload
def AppleApp(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             app_store_id: Optional[str] = None,
             bundle_id: Optional[str] = None,
             deletion_policy: Optional[str] = None,
             display_name: Optional[str] = None,
             project: Optional[str] = None,
             team_id: Optional[str] = None)
@overload
def AppleApp(resource_name: str,
             args: AppleAppArgs,
             opts: Optional[ResourceOptions] = None)
func NewAppleApp(ctx *Context, name string, args AppleAppArgs, opts ...ResourceOption) (*AppleApp, error)
public AppleApp(string name, AppleAppArgs args, CustomResourceOptions? opts = null)
public AppleApp(String name, AppleAppArgs args)
public AppleApp(String name, AppleAppArgs args, CustomResourceOptions options)
type: gcp:firebase:AppleApp
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args AppleAppArgs
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 AppleAppArgs
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 AppleAppArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AppleAppArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args AppleAppArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

AppleApp 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 AppleApp resource accepts the following input properties:

DisplayName string

The user-assigned display name of the App.

AppStoreId string

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

BundleId string

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

DeletionPolicy string

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

TeamId string

The Apple Developer Team ID associated with the App in the App Store.

DisplayName string

The user-assigned display name of the App.

AppStoreId string

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

BundleId string

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

DeletionPolicy string

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

TeamId string

The Apple Developer Team ID associated with the App in the App Store.

displayName String

The user-assigned display name of the App.

appStoreId String

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

bundleId String

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

deletionPolicy String

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

teamId String

The Apple Developer Team ID associated with the App in the App Store.

displayName string

The user-assigned display name of the App.

appStoreId string

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

bundleId string

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

deletionPolicy string

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

teamId string

The Apple Developer Team ID associated with the App in the App Store.

display_name str

The user-assigned display name of the App.

app_store_id str

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

bundle_id str

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

deletion_policy str

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

team_id str

The Apple Developer Team ID associated with the App in the App Store.

displayName String

The user-assigned display name of the App.

appStoreId String

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

bundleId String

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

deletionPolicy String

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

teamId String

The Apple Developer Team ID associated with the App in the App Store.

Outputs

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

AppId string

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

AppId string

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

appId String

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

id String

The provider-assigned unique ID for this managed resource.

name String

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

appId string

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

id string

The provider-assigned unique ID for this managed resource.

name string

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

app_id str

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

id str

The provider-assigned unique ID for this managed resource.

name str

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

appId String

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

id String

The provider-assigned unique ID for this managed resource.

name String

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

Look up Existing AppleApp Resource

Get an existing AppleApp resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AppleAppState, opts?: CustomResourceOptions): AppleApp
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        app_id: Optional[str] = None,
        app_store_id: Optional[str] = None,
        bundle_id: Optional[str] = None,
        deletion_policy: Optional[str] = None,
        display_name: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        team_id: Optional[str] = None) -> AppleApp
func GetAppleApp(ctx *Context, name string, id IDInput, state *AppleAppState, opts ...ResourceOption) (*AppleApp, error)
public static AppleApp Get(string name, Input<string> id, AppleAppState? state, CustomResourceOptions? opts = null)
public static AppleApp get(String name, Output<String> id, AppleAppState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
AppId string

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

AppStoreId string

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

BundleId string

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

DeletionPolicy string

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

DisplayName string

The user-assigned display name of the App.

Name string

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

TeamId string

The Apple Developer Team ID associated with the App in the App Store.

AppId string

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

AppStoreId string

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

BundleId string

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

DeletionPolicy string

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

DisplayName string

The user-assigned display name of the App.

Name string

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

Project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

TeamId string

The Apple Developer Team ID associated with the App in the App Store.

appId String

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

appStoreId String

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

bundleId String

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

deletionPolicy String

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

displayName String

The user-assigned display name of the App.

name String

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

teamId String

The Apple Developer Team ID associated with the App in the App Store.

appId string

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

appStoreId string

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

bundleId string

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

deletionPolicy string

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

displayName string

The user-assigned display name of the App.

name string

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

project string

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

teamId string

The Apple Developer Team ID associated with the App in the App Store.

app_id str

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

app_store_id str

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

bundle_id str

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

deletion_policy str

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

display_name str

The user-assigned display name of the App.

name str

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

project str

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

team_id str

The Apple Developer Team ID associated with the App in the App Store.

appId String

The globally unique, Firebase-assigned identifier of the App. This identifier should be treated as an opaque token, as the data format is not specified.

appStoreId String

The automatically generated Apple ID assigned to the Apple app by Apple in the Apple App Store.

bundleId String

The canonical bundle ID of the Apple app as it would appear in the Apple AppStore.

deletionPolicy String

(Optional) Set to 'ABANDON' to allow the AppleApp to be untracked from terraform state rather than deleted upon 'terraform destroy'. This is useful because the AppleApp may be serving traffic. Set to 'DELETE' to delete the AppleApp. Default to 'DELETE'.

displayName String

The user-assigned display name of the App.

name String

The fully qualified resource name of the App, for example: projects/projectId/iosApps/appId

project String

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

teamId String

The Apple Developer Team ID associated with the App in the App Store.

Package Details

Repository
Google Cloud (GCP) Classic pulumi/pulumi-gcp
License
Apache-2.0
Notes

This Pulumi package is based on the google-beta Terraform Provider.