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.apigeeregistry/v1.getDeployment
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
Returns a specified deployment.
Using getDeployment
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 getDeployment(args: GetDeploymentArgs, opts?: InvokeOptions): Promise<GetDeploymentResult>
function getDeploymentOutput(args: GetDeploymentOutputArgs, opts?: InvokeOptions): Output<GetDeploymentResult>
def get_deployment(api_id: Optional[str] = None,
deployment_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetDeploymentResult
def get_deployment_output(api_id: Optional[pulumi.Input[str]] = None,
deployment_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetDeploymentResult]
func LookupDeployment(ctx *Context, args *LookupDeploymentArgs, opts ...InvokeOption) (*LookupDeploymentResult, error)
func LookupDeploymentOutput(ctx *Context, args *LookupDeploymentOutputArgs, opts ...InvokeOption) LookupDeploymentResultOutput
> Note: This function is named LookupDeployment
in the Go SDK.
public static class GetDeployment
{
public static Task<GetDeploymentResult> InvokeAsync(GetDeploymentArgs args, InvokeOptions? opts = null)
public static Output<GetDeploymentResult> Invoke(GetDeploymentInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDeploymentResult> getDeployment(GetDeploymentArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:apigeeregistry/v1:getDeployment
arguments:
# arguments dictionary
The following arguments are supported:
- Api
Id string - Deployment
Id string - Location string
- Project string
- Api
Id string - Deployment
Id string - Location string
- Project string
- api
Id String - deployment
Id String - location String
- project String
- api
Id string - deployment
Id string - location string
- project string
- api_
id str - deployment_
id str - location str
- project str
- api
Id String - deployment
Id String - location String
- project String
getDeployment Result
The following output properties are available:
- Access
Guidance string - Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
- Annotations Dictionary<string, string>
- Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
- Api
Spec stringRevision - The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec@revision}
- Create
Time string - Creation timestamp; when the deployment resource was created.
- Description string
- A detailed description.
- Display
Name string - Human-meaningful name.
- Endpoint
Uri string - The address where the deployment is serving. Changes to this value will update the revision.
- External
Channel stringUri - The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
- Intended
Audience string - Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
- Labels Dictionary<string, string>
- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed. - Name string
- Resource name.
- Revision
Create stringTime - Revision creation timestamp; when the represented revision was created.
- Revision
Id string - Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
- Revision
Update stringTime - Last update timestamp: when the represented revision was last modified.
- Access
Guidance string - Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
- Annotations map[string]string
- Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
- Api
Spec stringRevision - The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec@revision}
- Create
Time string - Creation timestamp; when the deployment resource was created.
- Description string
- A detailed description.
- Display
Name string - Human-meaningful name.
- Endpoint
Uri string - The address where the deployment is serving. Changes to this value will update the revision.
- External
Channel stringUri - The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
- Intended
Audience string - Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
- Labels map[string]string
- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed. - Name string
- Resource name.
- Revision
Create stringTime - Revision creation timestamp; when the represented revision was created.
- Revision
Id string - Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
- Revision
Update stringTime - Last update timestamp: when the represented revision was last modified.
- access
Guidance String - Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
- annotations Map<String,String>
- Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
- api
Spec StringRevision - The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec@revision}
- create
Time String - Creation timestamp; when the deployment resource was created.
- description String
- A detailed description.
- display
Name String - Human-meaningful name.
- endpoint
Uri String - The address where the deployment is serving. Changes to this value will update the revision.
- external
Channel StringUri - The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
- intended
Audience String - Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
- labels Map<String,String>
- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed. - name String
- Resource name.
- revision
Create StringTime - Revision creation timestamp; when the represented revision was created.
- revision
Id String - Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
- revision
Update StringTime - Last update timestamp: when the represented revision was last modified.
- access
Guidance string - Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
- annotations {[key: string]: string}
- Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
- api
Spec stringRevision - The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec@revision}
- create
Time string - Creation timestamp; when the deployment resource was created.
- description string
- A detailed description.
- display
Name string - Human-meaningful name.
- endpoint
Uri string - The address where the deployment is serving. Changes to this value will update the revision.
- external
Channel stringUri - The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
- intended
Audience string - Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
- labels {[key: string]: string}
- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed. - name string
- Resource name.
- revision
Create stringTime - Revision creation timestamp; when the represented revision was created.
- revision
Id string - Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
- revision
Update stringTime - Last update timestamp: when the represented revision was last modified.
- access_
guidance str - Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
- annotations Mapping[str, str]
- Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
- api_
spec_ strrevision - The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec@revision}
- create_
time str - Creation timestamp; when the deployment resource was created.
- description str
- A detailed description.
- display_
name str - Human-meaningful name.
- endpoint_
uri str - The address where the deployment is serving. Changes to this value will update the revision.
- external_
channel_ struri - The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
- intended_
audience str - Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
- labels Mapping[str, str]
- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed. - name str
- Resource name.
- revision_
create_ strtime - Revision creation timestamp; when the represented revision was created.
- revision_
id str - Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
- revision_
update_ strtime - Last update timestamp: when the represented revision was last modified.
- access
Guidance String - Text briefly describing how to access the endpoint. Changes to this value will not affect the revision.
- annotations Map<String>
- Annotations attach non-identifying metadata to resources. Annotation keys and values are less restricted than those of labels, but should be generally used for small values of broad interest. Larger, topic- specific metadata should be stored in Artifacts.
- api
Spec StringRevision - The full resource name (including revision ID) of the spec of the API being served by the deployment. Changes to this value will update the revision. Format:
projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec@revision}
- create
Time String - Creation timestamp; when the deployment resource was created.
- description String
- A detailed description.
- display
Name String - Human-meaningful name.
- endpoint
Uri String - The address where the deployment is serving. Changes to this value will update the revision.
- external
Channel StringUri - The address of the external channel of the API (e.g., the Developer Portal). Changes to this value will not affect the revision.
- intended
Audience String - Text briefly identifying the intended audience of the API. Changes to this value will not affect the revision.
- labels Map<String>
- Labels attach identifying metadata to resources. Identifying metadata can be used to filter list operations. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one resource (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with
apigeeregistry.googleapis.com/
and cannot be changed. - name String
- Resource name.
- revision
Create StringTime - Revision creation timestamp; when the represented revision was created.
- revision
Id String - Immutable. The revision ID of the deployment. A new revision is committed whenever the deployment contents are changed. The format is an 8-character hexadecimal string.
- revision
Update StringTime - Last update timestamp: when the represented revision was last modified.
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