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.getEnvironment
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 environment details.
Using getEnvironment
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 getEnvironment(args: GetEnvironmentArgs, opts?: InvokeOptions): Promise<GetEnvironmentResult>
function getEnvironmentOutput(args: GetEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentResult>
def get_environment(environment_id: Optional[str] = None,
organization_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentResult
def get_environment_output(environment_id: Optional[pulumi.Input[str]] = None,
organization_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentResult]
func LookupEnvironment(ctx *Context, args *LookupEnvironmentArgs, opts ...InvokeOption) (*LookupEnvironmentResult, error)
func LookupEnvironmentOutput(ctx *Context, args *LookupEnvironmentOutputArgs, opts ...InvokeOption) LookupEnvironmentResultOutput
> Note: This function is named LookupEnvironment
in the Go SDK.
public static class GetEnvironment
{
public static Task<GetEnvironmentResult> InvokeAsync(GetEnvironmentArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentResult> Invoke(GetEnvironmentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:apigee/v1:getEnvironment
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Id string - Organization
Id string
- Environment
Id string - Organization
Id string
- environment
Id String - organization
Id String
- environment
Id string - organization
Id string
- environment_
id str - organization_
id str
- environment
Id String - organization
Id String
getEnvironment Result
The following output properties are available:
- Api
Proxy stringType - Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- Created
At string - Creation time of this environment as milliseconds since epoch.
- Deployment
Type string - Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers
- Description string
- Optional. Description of the environment.
- Display
Name string - Optional. Display name for this environment.
- Forward
Proxy stringUri - Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of "http" or "https", and port must be supplied.
- Has
Attached boolFlow Hooks - Last
Modified stringAt - Last modification time of this environment as milliseconds since epoch.
- Name string
- Name of the environment. Values must match the regular expression
^[.\\p{Alnum}-_]{1,255}$
- Node
Config Pulumi.Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Node Config Response - Optional. NodeConfig of the environment.
- Properties
Pulumi.
Google Native. Apigee. V1. Outputs. Google Cloud Apigee V1Properties Response - Optional. Key-value pairs that may be used for customizing the environment.
- State string
- State of the environment. Values other than ACTIVE means the resource is not ready to use.
- Type string
- Optional. EnvironmentType selected for the environment.
- Api
Proxy stringType - Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- Created
At string - Creation time of this environment as milliseconds since epoch.
- Deployment
Type string - Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers
- Description string
- Optional. Description of the environment.
- Display
Name string - Optional. Display name for this environment.
- Forward
Proxy stringUri - Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of "http" or "https", and port must be supplied.
- Has
Attached boolFlow Hooks - Last
Modified stringAt - Last modification time of this environment as milliseconds since epoch.
- Name string
- Name of the environment. Values must match the regular expression
^[.\\p{Alnum}-_]{1,255}$
- Node
Config GoogleCloud Apigee V1Node Config Response - Optional. NodeConfig of the environment.
- Properties
Google
Cloud Apigee V1Properties Response - Optional. Key-value pairs that may be used for customizing the environment.
- State string
- State of the environment. Values other than ACTIVE means the resource is not ready to use.
- Type string
- Optional. EnvironmentType selected for the environment.
- api
Proxy StringType - Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- created
At String - Creation time of this environment as milliseconds since epoch.
- deployment
Type String - Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers
- description String
- Optional. Description of the environment.
- display
Name String - Optional. Display name for this environment.
- forward
Proxy StringUri - Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of "http" or "https", and port must be supplied.
- has
Attached BooleanFlow Hooks - last
Modified StringAt - Last modification time of this environment as milliseconds since epoch.
- name String
- Name of the environment. Values must match the regular expression
^[.\\p{Alnum}-_]{1,255}$
- node
Config GoogleCloud Apigee V1Node Config Response - Optional. NodeConfig of the environment.
- properties
Google
Cloud Apigee V1Properties Response - Optional. Key-value pairs that may be used for customizing the environment.
- state String
- State of the environment. Values other than ACTIVE means the resource is not ready to use.
- type String
- Optional. EnvironmentType selected for the environment.
- api
Proxy stringType - Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- created
At string - Creation time of this environment as milliseconds since epoch.
- deployment
Type string - Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers
- description string
- Optional. Description of the environment.
- display
Name string - Optional. Display name for this environment.
- forward
Proxy stringUri - Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of "http" or "https", and port must be supplied.
- has
Attached booleanFlow Hooks - last
Modified stringAt - Last modification time of this environment as milliseconds since epoch.
- name string
- Name of the environment. Values must match the regular expression
^[.\\p{Alnum}-_]{1,255}$
- node
Config GoogleCloud Apigee V1Node Config Response - Optional. NodeConfig of the environment.
- properties
Google
Cloud Apigee V1Properties Response - Optional. Key-value pairs that may be used for customizing the environment.
- state string
- State of the environment. Values other than ACTIVE means the resource is not ready to use.
- type string
- Optional. EnvironmentType selected for the environment.
- api_
proxy_ strtype - Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- created_
at str - Creation time of this environment as milliseconds since epoch.
- deployment_
type str - Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers
- description str
- Optional. Description of the environment.
- display_
name str - Optional. Display name for this environment.
- forward_
proxy_ struri - Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of "http" or "https", and port must be supplied.
- has_
attached_ boolflow_ hooks - last_
modified_ strat - Last modification time of this environment as milliseconds since epoch.
- name str
- Name of the environment. Values must match the regular expression
^[.\\p{Alnum}-_]{1,255}$
- node_
config GoogleCloud Apigee V1Node Config Response - Optional. NodeConfig of the environment.
- properties
Google
Cloud Apigee V1Properties Response - Optional. Key-value pairs that may be used for customizing the environment.
- state str
- State of the environment. Values other than ACTIVE means the resource is not ready to use.
- type str
- Optional. EnvironmentType selected for the environment.
- api
Proxy StringType - Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- created
At String - Creation time of this environment as milliseconds since epoch.
- deployment
Type String - Optional. Deployment type supported by the environment. The deployment type can be set when creating the environment and cannot be changed. When you enable archive deployment, you will be prevented from performing a subset of actions within the environment, including: * Managing the deployment of API proxy or shared flow revisions * Creating, updating, or deleting resource files * Creating, updating, or deleting target servers
- description String
- Optional. Description of the environment.
- display
Name String - Optional. Display name for this environment.
- forward
Proxy StringUri - Optional. Url of the forward proxy to be applied to the runtime instances in this environment. Must be in the format of {scheme}://{hostname}:{port}. Note that scheme must be one of "http" or "https", and port must be supplied.
- has
Attached BooleanFlow Hooks - last
Modified StringAt - Last modification time of this environment as milliseconds since epoch.
- name String
- Name of the environment. Values must match the regular expression
^[.\\p{Alnum}-_]{1,255}$
- node
Config Property Map - Optional. NodeConfig of the environment.
- properties Property Map
- Optional. Key-value pairs that may be used for customizing the environment.
- state String
- State of the environment. Values other than ACTIVE means the resource is not ready to use.
- type String
- Optional. EnvironmentType selected for the environment.
Supporting Types
GoogleCloudApigeeV1NodeConfigResponse
- Current
Aggregate stringNode Count - The current total number of gateway nodes that each environment currently has across all instances.
- Max
Node stringCount - Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway.
- Min
Node stringCount - Optional. The minimum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended minimum number of nodes for that gateway.
- Current
Aggregate stringNode Count - The current total number of gateway nodes that each environment currently has across all instances.
- Max
Node stringCount - Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway.
- Min
Node stringCount - Optional. The minimum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended minimum number of nodes for that gateway.
- current
Aggregate StringNode Count - The current total number of gateway nodes that each environment currently has across all instances.
- max
Node StringCount - Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway.
- min
Node StringCount - Optional. The minimum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended minimum number of nodes for that gateway.
- current
Aggregate stringNode Count - The current total number of gateway nodes that each environment currently has across all instances.
- max
Node stringCount - Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway.
- min
Node stringCount - Optional. The minimum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended minimum number of nodes for that gateway.
- current_
aggregate_ strnode_ count - The current total number of gateway nodes that each environment currently has across all instances.
- max_
node_ strcount - Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway.
- min_
node_ strcount - Optional. The minimum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended minimum number of nodes for that gateway.
- current
Aggregate StringNode Count - The current total number of gateway nodes that each environment currently has across all instances.
- max
Node StringCount - Optional. The maximum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended maximum number of nodes for that gateway.
- min
Node StringCount - Optional. The minimum total number of gateway nodes that the is reserved for all instances that has the specified environment. If not specified, the default is determined by the recommended minimum number of nodes for that gateway.
GoogleCloudApigeeV1PropertiesResponse
- Property
List<Pulumi.
Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Property Response> - List of all properties in the object
- Property
[]Google
Cloud Apigee V1Property Response - List of all properties in the object
- property
List<Google
Cloud Apigee V1Property Response> - List of all properties in the object
- property
Google
Cloud Apigee V1Property Response[] - List of all properties in the object
- property
Sequence[Google
Cloud Apigee V1Property Response] - List of all properties in the object
- property List<Property Map>
- List of all properties in the object
GoogleCloudApigeeV1PropertyResponse
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