Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.getApp
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Returns the details for a developer app.
Using getApp
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 getApp(args: GetAppArgs, opts?: InvokeOptions): Promise<GetAppResult>
function getAppOutput(args: GetAppOutputArgs, opts?: InvokeOptions): Output<GetAppResult>
def get_app(app_id: Optional[str] = None,
developer_id: Optional[str] = None,
entity: Optional[str] = None,
organization_id: Optional[str] = None,
query: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAppResult
def get_app_output(app_id: Optional[pulumi.Input[str]] = None,
developer_id: Optional[pulumi.Input[str]] = None,
entity: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
query: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAppResult]
func LookupApp(ctx *Context, args *LookupAppArgs, opts ...InvokeOption) (*LookupAppResult, error)
func LookupAppOutput(ctx *Context, args *LookupAppOutputArgs, opts ...InvokeOption) LookupAppResultOutput
> Note: This function is named LookupApp
in the Go SDK.
public static class GetApp
{
public static Task<GetAppResult> InvokeAsync(GetAppArgs args, InvokeOptions? opts = null)
public static Output<GetAppResult> Invoke(GetAppInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAppResult> getApp(GetAppArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:apigee/v1:getApp
arguments:
# arguments dictionary
The following arguments are supported:
- App
Id string - Developer
Id string - Organization
Id string - Entity string
- Query string
- App
Id string - Developer
Id string - Organization
Id string - Entity string
- Query string
- app
Id String - developer
Id String - organization
Id String - entity String
- query String
- app
Id string - developer
Id string - organization
Id string - entity string
- query string
- app_
id str - developer_
id str - organization_
id str - entity str
- query str
- app
Id String - developer
Id String - organization
Id String - entity String
- query String
getApp Result
The following output properties are available:
- Api
Products List<string> List of API products associated with the developer app.
- App
Family string Developer app family.
- App
Id string ID of the developer app.
- Attributes
List<Pulumi.
Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Attribute Response> List of attributes for the developer app.
- Callback
Url string Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps.
- Created
At string Time the developer app was created in milliseconds since epoch.
- Credentials
List<Pulumi.
Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Credential Response> Set of credentials for the developer app consisting of the consumer key/secret pairs associated with the API products.
- Developer
Id string ID of the developer.
- Key
Expires stringIn Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of
-1
, the API key never expires. The expiration time can't be updated after it is set.- Last
Modified stringAt Time the developer app was modified in milliseconds since epoch.
- Name string
Name of the developer app.
- Scopes List<string>
Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app.
- Status string
Status of the credential. Valid values include
approved
orrevoked
.
- Api
Products []string List of API products associated with the developer app.
- App
Family string Developer app family.
- App
Id string ID of the developer app.
- Attributes
[]Google
Cloud Apigee V1Attribute Response List of attributes for the developer app.
- Callback
Url string Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps.
- Created
At string Time the developer app was created in milliseconds since epoch.
- Credentials
[]Google
Cloud Apigee V1Credential Response Set of credentials for the developer app consisting of the consumer key/secret pairs associated with the API products.
- Developer
Id string ID of the developer.
- Key
Expires stringIn Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of
-1
, the API key never expires. The expiration time can't be updated after it is set.- Last
Modified stringAt Time the developer app was modified in milliseconds since epoch.
- Name string
Name of the developer app.
- Scopes []string
Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app.
- Status string
Status of the credential. Valid values include
approved
orrevoked
.
- api
Products List<String> List of API products associated with the developer app.
- app
Family String Developer app family.
- app
Id String ID of the developer app.
- attributes
List<Google
Cloud Apigee V1Attribute Response> List of attributes for the developer app.
- callback
Url String Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps.
- created
At String Time the developer app was created in milliseconds since epoch.
- credentials
List<Google
Cloud Apigee V1Credential Response> Set of credentials for the developer app consisting of the consumer key/secret pairs associated with the API products.
- developer
Id String ID of the developer.
- key
Expires StringIn Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of
-1
, the API key never expires. The expiration time can't be updated after it is set.- last
Modified StringAt Time the developer app was modified in milliseconds since epoch.
- name String
Name of the developer app.
- scopes List<String>
Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app.
- status String
Status of the credential. Valid values include
approved
orrevoked
.
- api
Products string[] List of API products associated with the developer app.
- app
Family string Developer app family.
- app
Id string ID of the developer app.
- attributes
Google
Cloud Apigee V1Attribute Response[] List of attributes for the developer app.
- callback
Url string Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps.
- created
At string Time the developer app was created in milliseconds since epoch.
- credentials
Google
Cloud Apigee V1Credential Response[] Set of credentials for the developer app consisting of the consumer key/secret pairs associated with the API products.
- developer
Id string ID of the developer.
- key
Expires stringIn Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of
-1
, the API key never expires. The expiration time can't be updated after it is set.- last
Modified stringAt Time the developer app was modified in milliseconds since epoch.
- name string
Name of the developer app.
- scopes string[]
Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app.
- status string
Status of the credential. Valid values include
approved
orrevoked
.
- api_
products Sequence[str] List of API products associated with the developer app.
- app_
family str Developer app family.
- app_
id str ID of the developer app.
- attributes
Sequence[Google
Cloud Apigee V1Attribute Response] List of attributes for the developer app.
- callback_
url str Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps.
- created_
at str Time the developer app was created in milliseconds since epoch.
- credentials
Sequence[Google
Cloud Apigee V1Credential Response] Set of credentials for the developer app consisting of the consumer key/secret pairs associated with the API products.
- developer_
id str ID of the developer.
- key_
expires_ strin Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of
-1
, the API key never expires. The expiration time can't be updated after it is set.- last_
modified_ strat Time the developer app was modified in milliseconds since epoch.
- name str
Name of the developer app.
- scopes Sequence[str]
Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app.
- status str
Status of the credential. Valid values include
approved
orrevoked
.
- api
Products List<String> List of API products associated with the developer app.
- app
Family String Developer app family.
- app
Id String ID of the developer app.
- attributes List<Property Map>
List of attributes for the developer app.
- callback
Url String Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to developer apps.
- created
At String Time the developer app was created in milliseconds since epoch.
- credentials List<Property Map>
Set of credentials for the developer app consisting of the consumer key/secret pairs associated with the API products.
- developer
Id String ID of the developer.
- key
Expires StringIn Expiration time, in milliseconds, for the consumer key that is generated for the developer app. If not set or left to the default value of
-1
, the API key never expires. The expiration time can't be updated after it is set.- last
Modified StringAt Time the developer app was modified in milliseconds since epoch.
- name String
Name of the developer app.
- scopes List<String>
Scopes to apply to the developer app. The specified scopes must already exist for the API product that you associate with the developer app.
- status String
Status of the credential. Valid values include
approved
orrevoked
.
Supporting Types
GoogleCloudApigeeV1ApiProductRefResponse
- Apiproduct string
Name of the API product.
- Status string
Status of the API product. Valid values are
approved
orrevoked
.
- Apiproduct string
Name of the API product.
- Status string
Status of the API product. Valid values are
approved
orrevoked
.
- apiproduct String
Name of the API product.
- status String
Status of the API product. Valid values are
approved
orrevoked
.
- apiproduct string
Name of the API product.
- status string
Status of the API product. Valid values are
approved
orrevoked
.
- apiproduct str
Name of the API product.
- status str
Status of the API product. Valid values are
approved
orrevoked
.
- apiproduct String
Name of the API product.
- status String
Status of the API product. Valid values are
approved
orrevoked
.
GoogleCloudApigeeV1AttributeResponse
GoogleCloudApigeeV1CredentialResponse
- Api
Products List<Pulumi.Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Api Product Ref Response> List of API products this credential can be used for.
- Attributes
List<Pulumi.
Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Attribute Response> List of attributes associated with this credential.
- Consumer
Key string Consumer key.
- Consumer
Secret string Secret key.
- Expires
At string Time the credential will expire in milliseconds since epoch.
- Issued
At string Time the credential was issued in milliseconds since epoch.
- Scopes List<string>
List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
- Status string
Status of the credential. Valid values include
approved
orrevoked
.
- Api
Products []GoogleCloud Apigee V1Api Product Ref Response List of API products this credential can be used for.
- Attributes
[]Google
Cloud Apigee V1Attribute Response List of attributes associated with this credential.
- Consumer
Key string Consumer key.
- Consumer
Secret string Secret key.
- Expires
At string Time the credential will expire in milliseconds since epoch.
- Issued
At string Time the credential was issued in milliseconds since epoch.
- Scopes []string
List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
- Status string
Status of the credential. Valid values include
approved
orrevoked
.
- api
Products List<GoogleCloud Apigee V1Api Product Ref Response> List of API products this credential can be used for.
- attributes
List<Google
Cloud Apigee V1Attribute Response> List of attributes associated with this credential.
- consumer
Key String Consumer key.
- consumer
Secret String Secret key.
- expires
At String Time the credential will expire in milliseconds since epoch.
- issued
At String Time the credential was issued in milliseconds since epoch.
- scopes List<String>
List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
- status String
Status of the credential. Valid values include
approved
orrevoked
.
- api
Products GoogleCloud Apigee V1Api Product Ref Response[] List of API products this credential can be used for.
- attributes
Google
Cloud Apigee V1Attribute Response[] List of attributes associated with this credential.
- consumer
Key string Consumer key.
- consumer
Secret string Secret key.
- expires
At string Time the credential will expire in milliseconds since epoch.
- issued
At string Time the credential was issued in milliseconds since epoch.
- scopes string[]
List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
- status string
Status of the credential. Valid values include
approved
orrevoked
.
- api_
products Sequence[GoogleCloud Apigee V1Api Product Ref Response] List of API products this credential can be used for.
- attributes
Sequence[Google
Cloud Apigee V1Attribute Response] List of attributes associated with this credential.
- consumer_
key str Consumer key.
- consumer_
secret str Secret key.
- expires_
at str Time the credential will expire in milliseconds since epoch.
- issued_
at str Time the credential was issued in milliseconds since epoch.
- scopes Sequence[str]
List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
- status str
Status of the credential. Valid values include
approved
orrevoked
.
- api
Products List<Property Map> List of API products this credential can be used for.
- attributes List<Property Map>
List of attributes associated with this credential.
- consumer
Key String Consumer key.
- consumer
Secret String Secret key.
- expires
At String Time the credential will expire in milliseconds since epoch.
- issued
At String Time the credential was issued in milliseconds since epoch.
- scopes List<String>
List of scopes to apply to the app. Specified scopes must already exist on the API product that you associate with the app.
- status String
Status of the credential. Valid values include
approved
orrevoked
.
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.