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)
public static Output<GetEnvironmentResult> getEnvironment(GetEnvironmentArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:apigee/v1:getEnvironment
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EnvironmentId string
- OrganizationId string
- EnvironmentId string
- OrganizationId string
- environmentId String
- organizationId String
- environmentId string
- organizationId string
- environment_id str
- organization_id str
- environmentId String
- organizationId String
getEnvironment Result
The following output properties are available:
- ApiProxy stringType 
- Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- CreatedAt string
- Creation time of this environment as milliseconds since epoch.
- DeploymentType 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.
- DisplayName string
- Optional. Display name for this environment.
- ForwardProxy 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.
- HasAttached boolFlow Hooks 
- LastModified 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}$
- NodeConfig 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.
- ApiProxy stringType 
- Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- CreatedAt string
- Creation time of this environment as milliseconds since epoch.
- DeploymentType 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.
- DisplayName string
- Optional. Display name for this environment.
- ForwardProxy 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.
- HasAttached boolFlow Hooks 
- LastModified 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}$
- NodeConfig GoogleCloud Apigee V1Node Config Response 
- Optional. NodeConfig of the environment.
- Properties
GoogleCloud 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.
- apiProxy StringType 
- Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- createdAt String
- Creation time of this environment as milliseconds since epoch.
- deploymentType 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.
- displayName String
- Optional. Display name for this environment.
- forwardProxy 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.
- hasAttached BooleanFlow Hooks 
- lastModified 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}$
- nodeConfig GoogleCloud Apigee V1Node Config Response 
- Optional. NodeConfig of the environment.
- properties
GoogleCloud 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.
- apiProxy stringType 
- Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- createdAt string
- Creation time of this environment as milliseconds since epoch.
- deploymentType 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.
- displayName string
- Optional. Display name for this environment.
- forwardProxy 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.
- hasAttached booleanFlow Hooks 
- lastModified 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}$
- nodeConfig GoogleCloud Apigee V1Node Config Response 
- Optional. NodeConfig of the environment.
- properties
GoogleCloud 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
GoogleCloud 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.
- apiProxy StringType 
- Optional. API Proxy type supported by the environment. The type can be set when creating the Environment and cannot be changed.
- createdAt String
- Creation time of this environment as milliseconds since epoch.
- deploymentType 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.
- displayName String
- Optional. Display name for this environment.
- forwardProxy 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.
- hasAttached BooleanFlow Hooks 
- lastModified 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}$
- nodeConfig 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     
- CurrentAggregate stringNode Count 
- The current total number of gateway nodes that each environment currently has across all instances.
- MaxNode 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.
- MinNode 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.
- CurrentAggregate stringNode Count 
- The current total number of gateway nodes that each environment currently has across all instances.
- MaxNode 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.
- MinNode 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.
- currentAggregate StringNode Count 
- The current total number of gateway nodes that each environment currently has across all instances.
- maxNode 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.
- minNode 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.
- currentAggregate stringNode Count 
- The current total number of gateway nodes that each environment currently has across all instances.
- maxNode 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.
- minNode 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.
- currentAggregate StringNode Count 
- The current total number of gateway nodes that each environment currently has across all instances.
- maxNode 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.
- minNode 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
[]GoogleCloud Apigee V1Property Response 
- List of all properties in the object
- property
List<GoogleCloud Apigee V1Property Response> 
- List of all properties in the object
- property
GoogleCloud Apigee V1Property Response[] 
- List of all properties in the object
- property
Sequence[GoogleCloud 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