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.dns/v1.getResponsePolicy
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
Fetches the representation of an existing Response Policy.
Using getResponsePolicy
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 getResponsePolicy(args: GetResponsePolicyArgs, opts?: InvokeOptions): Promise<GetResponsePolicyResult>
function getResponsePolicyOutput(args: GetResponsePolicyOutputArgs, opts?: InvokeOptions): Output<GetResponsePolicyResult>
def get_response_policy(client_operation_id: Optional[str] = None,
project: Optional[str] = None,
response_policy: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetResponsePolicyResult
def get_response_policy_output(client_operation_id: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
response_policy: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetResponsePolicyResult]
func GetResponsePolicy(ctx *Context, args *GetResponsePolicyArgs, opts ...InvokeOption) (*GetResponsePolicyResult, error)
func GetResponsePolicyOutput(ctx *Context, args *GetResponsePolicyOutputArgs, opts ...InvokeOption) GetResponsePolicyResultOutput
> Note: This function is named GetResponsePolicy
in the Go SDK.
public static class GetResponsePolicy
{
public static Task<GetResponsePolicyResult> InvokeAsync(GetResponsePolicyArgs args, InvokeOptions? opts = null)
public static Output<GetResponsePolicyResult> Invoke(GetResponsePolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetResponsePolicyResult> getResponsePolicy(GetResponsePolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:dns/v1:getResponsePolicy
arguments:
# arguments dictionary
The following arguments are supported:
- Response
Policy string - Client
Operation stringId - Project string
- Response
Policy string - Client
Operation stringId - Project string
- response
Policy String - client
Operation StringId - project String
- response
Policy string - client
Operation stringId - project string
- response_
policy str - client_
operation_ strid - project str
- response
Policy String - client
Operation StringId - project String
getResponsePolicy Result
The following output properties are available:
- Description string
- User-provided description for this Response Policy.
- Gke
Clusters List<Pulumi.Google Native. DNS. V1. Outputs. Response Policy GKECluster Response> - The list of Google Kubernetes Engine clusters to which this response policy is applied.
- Kind string
- Labels Dictionary<string, string>
- User labels.
- Networks
List<Pulumi.
Google Native. DNS. V1. Outputs. Response Policy Network Response> - List of network names specifying networks to which this policy is applied.
- Response
Policy stringName - User assigned name for this Response Policy.
- Description string
- User-provided description for this Response Policy.
- Gke
Clusters []ResponsePolicy GKECluster Response - The list of Google Kubernetes Engine clusters to which this response policy is applied.
- Kind string
- Labels map[string]string
- User labels.
- Networks
[]Response
Policy Network Response - List of network names specifying networks to which this policy is applied.
- Response
Policy stringName - User assigned name for this Response Policy.
- description String
- User-provided description for this Response Policy.
- gke
Clusters List<ResponsePolicy GKECluster Response> - The list of Google Kubernetes Engine clusters to which this response policy is applied.
- kind String
- labels Map<String,String>
- User labels.
- networks
List<Response
Policy Network Response> - List of network names specifying networks to which this policy is applied.
- response
Policy StringName - User assigned name for this Response Policy.
- description string
- User-provided description for this Response Policy.
- gke
Clusters ResponsePolicy GKECluster Response[] - The list of Google Kubernetes Engine clusters to which this response policy is applied.
- kind string
- labels {[key: string]: string}
- User labels.
- networks
Response
Policy Network Response[] - List of network names specifying networks to which this policy is applied.
- response
Policy stringName - User assigned name for this Response Policy.
- description str
- User-provided description for this Response Policy.
- gke_
clusters Sequence[ResponsePolicy GKECluster Response] - The list of Google Kubernetes Engine clusters to which this response policy is applied.
- kind str
- labels Mapping[str, str]
- User labels.
- networks
Sequence[Response
Policy Network Response] - List of network names specifying networks to which this policy is applied.
- response_
policy_ strname - User assigned name for this Response Policy.
- description String
- User-provided description for this Response Policy.
- gke
Clusters List<Property Map> - The list of Google Kubernetes Engine clusters to which this response policy is applied.
- kind String
- labels Map<String>
- User labels.
- networks List<Property Map>
- List of network names specifying networks to which this policy is applied.
- response
Policy StringName - User assigned name for this Response Policy.
Supporting Types
ResponsePolicyGKEClusterResponse
- Gke
Cluster stringName - The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
- Kind string
- Gke
Cluster stringName - The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
- Kind string
- gke
Cluster StringName - The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
- kind String
- gke
Cluster stringName - The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
- kind string
- gke_
cluster_ strname - The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
- kind str
- gke
Cluster StringName - The resource name of the cluster to bind this response policy to. This should be specified in the format like: projects//locations//clusters/*. This is referenced from GKE projects.locations.clusters.get API: https://cloud.google.com/kubernetes-engine/docs/reference/rest/v1/projects.locations.clusters/get
- kind String
ResponsePolicyNetworkResponse
- Kind string
- Network
Url string - The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- Kind string
- Network
Url string - The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- kind String
- network
Url String - The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- kind string
- network
Url string - The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- kind str
- network_
url str - The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
- kind String
- network
Url String - The fully qualified URL of the VPC network to bind to. This should be formatted like https://www.googleapis.com/compute/v1/projects/{project}/global/networks/{network}
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