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)
public static Output<GetResponsePolicyResult> getResponsePolicy(GetResponsePolicyArgs args, InvokeOptions options)
fn::invoke:
  function: google-native:dns/v1:getResponsePolicy
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ResponsePolicy string
- ClientOperation stringId 
- Project string
- ResponsePolicy string
- ClientOperation stringId 
- Project string
- responsePolicy String
- clientOperation StringId 
- project String
- responsePolicy string
- clientOperation stringId 
- project string
- response_policy str
- client_operation_ strid 
- project str
- responsePolicy String
- clientOperation StringId 
- project String
getResponsePolicy Result
The following output properties are available:
- Description string
- User-provided description for this Response Policy.
- GkeClusters 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.
- ResponsePolicy stringName 
- User assigned name for this Response Policy.
- Description string
- User-provided description for this Response Policy.
- GkeClusters []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
[]ResponsePolicy Network Response 
- List of network names specifying networks to which this policy is applied.
- ResponsePolicy stringName 
- User assigned name for this Response Policy.
- description String
- User-provided description for this Response Policy.
- gkeClusters 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<ResponsePolicy Network Response> 
- List of network names specifying networks to which this policy is applied.
- responsePolicy StringName 
- User assigned name for this Response Policy.
- description string
- User-provided description for this Response Policy.
- gkeClusters 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
ResponsePolicy Network Response[] 
- List of network names specifying networks to which this policy is applied.
- responsePolicy 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[ResponsePolicy 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.
- gkeClusters 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.
- responsePolicy StringName 
- User assigned name for this Response Policy.
Supporting Types
ResponsePolicyGKEClusterResponse   
- GkeCluster 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
- GkeCluster 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
- gkeCluster 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
- gkeCluster 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
- gkeCluster 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
- NetworkUrl 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
- NetworkUrl 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
- networkUrl 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
- networkUrl 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
- networkUrl 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