Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.apigee/v1.Override
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a trace configuration override. The response contains a system-generated UUID, that can be used to view, update, or delete the configuration override. Use the List API to view the existing trace configuration overrides.
Create Override Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Override(name: string, args: OverrideArgs, opts?: CustomResourceOptions);
@overload
def Override(resource_name: str,
args: OverrideArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Override(resource_name: str,
opts: Optional[ResourceOptions] = None,
environment_id: Optional[str] = None,
organization_id: Optional[str] = None,
api_proxy: Optional[str] = None,
name: Optional[str] = None,
sampling_config: Optional[GoogleCloudApigeeV1TraceSamplingConfigArgs] = None)
func NewOverride(ctx *Context, name string, args OverrideArgs, opts ...ResourceOption) (*Override, error)
public Override(string name, OverrideArgs args, CustomResourceOptions? opts = null)
public Override(String name, OverrideArgs args)
public Override(String name, OverrideArgs args, CustomResourceOptions options)
type: google-native:apigee/v1:Override
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args OverrideArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args OverrideArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args OverrideArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args OverrideArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args OverrideArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var overrideResource = new GoogleNative.Apigee.V1.Override("overrideResource", new()
{
EnvironmentId = "string",
OrganizationId = "string",
ApiProxy = "string",
Name = "string",
SamplingConfig = new GoogleNative.Apigee.V1.Inputs.GoogleCloudApigeeV1TraceSamplingConfigArgs
{
Sampler = GoogleNative.Apigee.V1.GoogleCloudApigeeV1TraceSamplingConfigSampler.SamplerUnspecified,
SamplingRate = 0,
},
});
example, err := apigee.NewOverride(ctx, "overrideResource", &apigee.OverrideArgs{
EnvironmentId: pulumi.String("string"),
OrganizationId: pulumi.String("string"),
ApiProxy: pulumi.String("string"),
Name: pulumi.String("string"),
SamplingConfig: &apigee.GoogleCloudApigeeV1TraceSamplingConfigArgs{
Sampler: apigee.GoogleCloudApigeeV1TraceSamplingConfigSamplerSamplerUnspecified,
SamplingRate: pulumi.Float64(0),
},
})
var overrideResource = new Override("overrideResource", OverrideArgs.builder()
.environmentId("string")
.organizationId("string")
.apiProxy("string")
.name("string")
.samplingConfig(GoogleCloudApigeeV1TraceSamplingConfigArgs.builder()
.sampler("SAMPLER_UNSPECIFIED")
.samplingRate(0)
.build())
.build());
override_resource = google_native.apigee.v1.Override("overrideResource",
environment_id="string",
organization_id="string",
api_proxy="string",
name="string",
sampling_config=google_native.apigee.v1.GoogleCloudApigeeV1TraceSamplingConfigArgs(
sampler=google_native.apigee.v1.GoogleCloudApigeeV1TraceSamplingConfigSampler.SAMPLER_UNSPECIFIED,
sampling_rate=0,
))
const overrideResource = new google_native.apigee.v1.Override("overrideResource", {
environmentId: "string",
organizationId: "string",
apiProxy: "string",
name: "string",
samplingConfig: {
sampler: google_native.apigee.v1.GoogleCloudApigeeV1TraceSamplingConfigSampler.SamplerUnspecified,
samplingRate: 0,
},
});
type: google-native:apigee/v1:Override
properties:
apiProxy: string
environmentId: string
name: string
organizationId: string
samplingConfig:
sampler: SAMPLER_UNSPECIFIED
samplingRate: 0
Override Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Override resource accepts the following input properties:
- Environment
Id string - Organization
Id string - Api
Proxy string - ID of the API proxy that will have its trace configuration overridden.
- Name string
- ID of the trace configuration override specified as a system-generated UUID.
- Sampling
Config Pulumi.Google Native. Apigee. V1. Inputs. Google Cloud Apigee V1Trace Sampling Config - Trace configuration to override.
- Environment
Id string - Organization
Id string - Api
Proxy string - ID of the API proxy that will have its trace configuration overridden.
- Name string
- ID of the trace configuration override specified as a system-generated UUID.
- Sampling
Config GoogleCloud Apigee V1Trace Sampling Config Args - Trace configuration to override.
- environment
Id String - organization
Id String - api
Proxy String - ID of the API proxy that will have its trace configuration overridden.
- name String
- ID of the trace configuration override specified as a system-generated UUID.
- sampling
Config GoogleCloud Apigee V1Trace Sampling Config - Trace configuration to override.
- environment
Id string - organization
Id string - api
Proxy string - ID of the API proxy that will have its trace configuration overridden.
- name string
- ID of the trace configuration override specified as a system-generated UUID.
- sampling
Config GoogleCloud Apigee V1Trace Sampling Config - Trace configuration to override.
- environment_
id str - organization_
id str - api_
proxy str - ID of the API proxy that will have its trace configuration overridden.
- name str
- ID of the trace configuration override specified as a system-generated UUID.
- sampling_
config GoogleCloud Apigee V1Trace Sampling Config Args - Trace configuration to override.
- environment
Id String - organization
Id String - api
Proxy String - ID of the API proxy that will have its trace configuration overridden.
- name String
- ID of the trace configuration override specified as a system-generated UUID.
- sampling
Config Property Map - Trace configuration to override.
Outputs
All input properties are implicitly available as output properties. Additionally, the Override resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
GoogleCloudApigeeV1TraceSamplingConfig, GoogleCloudApigeeV1TraceSamplingConfigArgs
- Sampler
Pulumi.
Google Native. Apigee. V1. Google Cloud Apigee V1Trace Sampling Config Sampler - Sampler of distributed tracing. OFF is the default value.
- Sampling
Rate double - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- Sampler
Google
Cloud Apigee V1Trace Sampling Config Sampler - Sampler of distributed tracing. OFF is the default value.
- Sampling
Rate float64 - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- sampler
Google
Cloud Apigee V1Trace Sampling Config Sampler - Sampler of distributed tracing. OFF is the default value.
- sampling
Rate Double - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- sampler
Google
Cloud Apigee V1Trace Sampling Config Sampler - Sampler of distributed tracing. OFF is the default value.
- sampling
Rate number - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- sampler
Google
Cloud Apigee V1Trace Sampling Config Sampler - Sampler of distributed tracing. OFF is the default value.
- sampling_
rate float - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- sampler "SAMPLER_UNSPECIFIED" | "OFF" | "PROBABILITY"
- Sampler of distributed tracing. OFF is the default value.
- sampling
Rate Number - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
GoogleCloudApigeeV1TraceSamplingConfigResponse, GoogleCloudApigeeV1TraceSamplingConfigResponseArgs
- Sampler string
- Sampler of distributed tracing. OFF is the default value.
- Sampling
Rate double - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- Sampler string
- Sampler of distributed tracing. OFF is the default value.
- Sampling
Rate float64 - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- sampler String
- Sampler of distributed tracing. OFF is the default value.
- sampling
Rate Double - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- sampler string
- Sampler of distributed tracing. OFF is the default value.
- sampling
Rate number - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- sampler str
- Sampler of distributed tracing. OFF is the default value.
- sampling_
rate float - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
- sampler String
- Sampler of distributed tracing. OFF is the default value.
- sampling
Rate Number - Field sampling rate. This value is only applicable when using the PROBABILITY sampler. The supported values are > 0 and <= 0.5.
GoogleCloudApigeeV1TraceSamplingConfigSampler, GoogleCloudApigeeV1TraceSamplingConfigSamplerArgs
- Sampler
Unspecified - SAMPLER_UNSPECIFIEDSampler unspecified.
- Off
- OFFOFF means distributed trace is disabled, or the sampling probability is 0.
- Probability
- PROBABILITYPROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set.
- Google
Cloud Apigee V1Trace Sampling Config Sampler Sampler Unspecified - SAMPLER_UNSPECIFIEDSampler unspecified.
- Google
Cloud Apigee V1Trace Sampling Config Sampler Off - OFFOFF means distributed trace is disabled, or the sampling probability is 0.
- Google
Cloud Apigee V1Trace Sampling Config Sampler Probability - PROBABILITYPROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set.
- Sampler
Unspecified - SAMPLER_UNSPECIFIEDSampler unspecified.
- Off
- OFFOFF means distributed trace is disabled, or the sampling probability is 0.
- Probability
- PROBABILITYPROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set.
- Sampler
Unspecified - SAMPLER_UNSPECIFIEDSampler unspecified.
- Off
- OFFOFF means distributed trace is disabled, or the sampling probability is 0.
- Probability
- PROBABILITYPROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set.
- SAMPLER_UNSPECIFIED
- SAMPLER_UNSPECIFIEDSampler unspecified.
- OFF
- OFFOFF means distributed trace is disabled, or the sampling probability is 0.
- PROBABILITY
- PROBABILITYPROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set.
- "SAMPLER_UNSPECIFIED"
- SAMPLER_UNSPECIFIEDSampler unspecified.
- "OFF"
- OFFOFF means distributed trace is disabled, or the sampling probability is 0.
- "PROBABILITY"
- PROBABILITYPROBABILITY means traces are captured on a probability that defined by sampling_rate. The sampling rate is limited to 0 to 0.5 when this is set.
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.