Google Native
getEnvironment
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.
- 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}$
- 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.
- 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.
- 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}$
- 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.
- 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.
- 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}$
- 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.
- 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.
- 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}$
- 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.
- 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.
- 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}$
- 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.
- 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.
- 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}$
- 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.
Supporting Types
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
- https://github.com/pulumi/pulumi-google-native
- License
- Apache-2.0